Current HTTP Proxy at esx-246 must be switched off. I've cleaned up its Apache configuration but some pieces are missing. I've created an additional config file for nginx-proxy and it works to add headers but I did not manage to migrate the following Apache config:
For instance this nginx rule results in a proxy error although it should be possible:
rewrite /cocoda/rvk /cocoda/app permanent;
In addition
/webhook-handler/ needs to be routed to port :2999
there is ProxyPreserveHost On and RemoteIPHeader X-Forwarded-For - this is likely not needed anymore
there are additional settings for login server. Not sure whether these are needed:
<Location /login>
Order allow,deny
Allow from all
AllowMethods GET HEAD POST PUT PATCH DELETE OPTIONS
ProxyPass http://esx-190.gbv.de/login/
ProxyPassReverse http://esx-190.gbv.de/login/
RequestHeader set X-Forwarded-Proto "https"
RewriteEngine on
RewriteCond %{HTTP:UPGRADE} ^WebSocket$ [NC]
RewriteCond %{HTTP:CONNECTION} ^Upgrade$ [NC]
RewriteRule .* ws://esx-190.gbv.de:80/login/ [P]
</Location>
Current HTTP Proxy at esx-246 must be switched off. I've cleaned up its Apache configuration but some pieces are missing. I've created an additional config file for nginx-proxy and it works to add headers but I did not manage to migrate the following Apache config:
For instance this nginx rule results in a proxy error although it should be possible:
In addition
/webhook-handler/
needs to be routed to port :2999ProxyPreserveHost On
andRemoteIPHeader X-Forwarded-For
- this is likely not needed anymore