change nginx config to add include location

This commit is contained in:
vincent 2019-04-25 21:10:23 +02:00
parent 9325fbf62c
commit 9f956b6f38

View File

@ -59,15 +59,15 @@ nginx_vhosts:
location = /50x.html {
root /usr/share/nginx/html;
}
location =/ {
rewrite ^ /starter;
}
location / {
location / {
index index.php index.html index.htm ;
default_type text/html;
}
location =/ {
rewrite ^ /starter;
}
location ~ \.php$ {
# try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
@ -77,6 +77,7 @@ nginx_vhosts:
fastcgi_index index.php;
include fastcgi_params;
}
include /etc/nginx/conf.d/*.default;
nginx_realIP_Proxy: 192.168.1.10/24