diff --git a/group_vars/server b/group_vars/server index 7fc90c2..869d4c2 100644 --- a/group_vars/server +++ b/group_vars/server @@ -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