• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

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