• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

Forwarded to devs Docker-EXT proxy rules missing header

TobiasP

Regular Pleskian
TITLE:
Docker-EXT proxy rules missing header​
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE:
Plesk Onyx, Version 17.8.11 Update #39, Debian 8.11​
PROBLEM DESCRIPTION:
If you configure proxy rules to docker in the Plesk GUI, several lines of nginx config get added to the virtual hosts nginx file.
however one header is important for a lot of applications that run behind an nginx proxy.
proxy_set_header X-Forwarded-Proto $scheme;

examples that don't work without are e.g. varnish, gitlab, openproject​
STEPS TO REPRODUCE:
enabling proxy rules for an application that needs the "X-Forwarded-Proto" results in a buggy, non-working application (in case of openproject because the auth cookie is not set correctly)
see here:
422 CSRF token problem | OpenProject Community​
ACTUAL RESULT:
nginx config is missing the X-Forwarded-Proto header​
EXPECTED RESULT:
nginx config having the X-Forwarded-Proto header set​
ANY ADDITIONAL INFORMATION:
I created a modified version of /opt/psa/admin/conf/templates/default/domain/nginxDomainVirtualHost.php and added a crude hack to add the missing header (Line 77 to) <?php echo str_replace("}",'proxy_set_header X-Forwarded-Proto $scheme; }',$VAR->domain->physicalHosting->nginxExtensionsConfigs); ?>
with this header e.g. openproject is working
​
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM:
Confirm bug​
 
Thank you! Bugreport has been confirmed and submitted as PPPM-10271
 
Back
Top