• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

Issue Add XFP header within Docker extension nginx proxy

wilei

New Pleskian
Hi!

Is it possible to add XFP / X-Forwarded-Proto HTTP-header when nginx is doing proxying to the Docker container?

Now configuration sets just X-Real-IP and X-Forwarded-For headers, but no X-Forwarded-Proto header, and therefore the standard HTTP/HTTPS detections are not working at all.

The XFP header could be added by just adding the following line to Docker extension config in every location with proxy_pass:
Code:
proxy_set_header X-Forwarded-Proto $scheme;

Or is there some template to edit and add the line in it?

(I'm using Plesk 17.8.11 on Ubuntu 16.04.5 with Docker extension version 1.3.1-126)
 
Back
Top