• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Issue Reverse Proxy 500 Error

DragonMaster

Basic Pleskian
Server operating system version
Linux
Plesk version and microupdate number
18
Reverse Proxy 500 Error


▼PleskVersion:Plesk18


▼Reverse Proxy 500 Error


▼Error Log

SSL Proxy requested for Example.com:443 but not enabled [Hint: SSLProxyEngine]
HTTPS: failed to enable ssl support for IP

SSL Proxy requested for Example.com:443 but not enabled [Hint: SSLProxyEngine]
HTTPS: failed to enable ssl support for IP
 
You seem to have a special proxy redirect configuration. The error is not resulting from the default Plesk Nginx proxy setup. It has something to do with a special way to redirect website traffic in a web server or .htaccess configuration. It would look somewhat similar like this there:

RewriteRule ^(.*)$ http://SOURCE.TLD[/DIRECTORY]/$1 [P,L]

The "P" is the proxy option. If you use that, you also need to add these two directives to the "Additional Apache directives" in the "Apache and nginx settings":

ProxyRequests On
SSLProxyEngine On

You may also need to disable "server static files through nginx" options.
 
▼ Current contents
・Directory:TEST123
・Shared server IP address:123.456.789.0

<Location "/TEST123">
ProxyPass https://123.456.789.0
ProxyPassReverse https://123.456.789.0
ProxyPassReverseCookieDomain https://123.456.789.0 example.com
ProxyPassReverseCookiePath / /TEST123/
</Location>

SSLProxyEngine on
SSLProxyCheckPeerCN off
SSLProxyCheckPeerName off

<Proxy *>
Order deny, allow
Deny from all
Allow from all
</Proxy>





■ Fix?


<Location "/TEST123">
ProxyPass https://123.456.789.0
ProxyPassReverse https://123.456.789.0
ProxyPassReverseCookieDomain https://123.456.789.0 example.com
ProxyPassReverseCookiePath / /TEST123/
</Location>

RewriteRule ^(.*)$ http://example.com[/TEST123]/$1[P,L]

Proxy Requests On
SSL Proxy Engine On
 
Back
Top