- Posts: 4
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
https://servername.com/survey/index.php?r=installer/welcome
https://servername.com/index.php?r=installer/welcome
http{ [..some stuff..] include /etc/nginx/proxy_params; [..some stuff..] server { listen 80 default_server; listen [::]:80 default_server; return 301 https://$host$request_uri; } server { listen 443 ssl http2; listen [::]:443 ssl http2; [..all the SSL stuff..] [..other locations..] location /survey/ { #include /etc/nginx/proxy_params; # included in http context proxy_pass https://192.168.3.13/; } } }
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Host $http_host; proxy_set_header X-Forwarded-Server $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-Ssl on;
http{ [..some stuff..] sever{ listen 80; server_name _; root /var/www/html/limesurvey; index index.html index.htm index.php; charset UTF-8; try_files $uri $uri/ /index.php?r=$uri&$args; location ~ [^/]\.php(/|$) { include snippets/fastcgi-php.conf; # Mitigate https://httpoxy.org/ vulnerabilities fastcgi_param HTTP_PROXY ""; fastcgi_pass unix:/var/run/php/php7.0-fpm.sock; } } }
Did you check with
try_files $uri $uri/ /survey/index.php?r=$uri&$args;
And : why did you try to fix url before installing ?
https://servername.com/survey/<file|folder/|folder>
https://servername.com/<file|folder/|folder>
Yii::createApplication('LSYii_Application', $config)->run();
https://servername.com/survey/admin
https://servername.com/index.php?r=installer/welcome
No,lcnittl wrote:
And : why did you try to fix url before installing ?
Do you mean altering of 'config-defaults.php'? After finding the right proxy settings that do not lead to a redirect from