Closed pixelmess closed 8 months ago
Apologies I'm not familiar enough with nginx to help you with this.
I can say that I test this using apache as a reverse proxy and don't have this issue.
Thanks for the reply.
Could you post your apache config so I can see which parameters might be useful for me? Is there anything special?
are the fixes mentioned here still relevant?
Those fixes shouldn't be required anymore.
Here is an example apache reverse proxy configuration. I have tested this on the latest release 5.6.11 along with previous releases. I've stripped out non-necessary elements.
<IfModule mod_ssl.c>
<VirtualHost _default_:443>
ServerAdmin email@email.email
ServerName limesurvey.test.url
DocumentRoot /var/www/limesurvey.test.url
RequestHeader set X-Forwarded-Proto "https"
RequestHeader set X-Forwarded-Port "443"
ProxyPreserveHost On
ProxyRequests off
ProxyPass /.wellknown !
ProxyPass / http://127.0.0.1:8080/
ProxyPassReverse / http://127.0.0.1:8080
</VirtualHost>
</IfModule>
Sorry needed to update multiple times to get the XML showing up correctly
I am using a pretty basic nginx reverse proxy config for my SSL setup.
Unfortunately the limesurvey admin-backend always redirects to
http://limesurvey/admin/
when I am trying to accesssurvey.mydomain.com/admin
.My nginx compose setup:
the relevant nginx config:
The surveys work fine with the reverse proxy and the default start page also loads fine. Only the admin-backend is not working properly.
Is there any way to fix this issue?