trying nginx conf change-up
This commit is contained in:
parent
727a20292f
commit
5545271322
1 changed files with 6 additions and 2 deletions
|
|
@ -55,13 +55,17 @@ http {
|
||||||
listen 80;
|
listen 80;
|
||||||
listen [::]:80;
|
listen [::]:80;
|
||||||
|
|
||||||
|
root /usr/share/nginx/html;
|
||||||
|
index indexV2.html;
|
||||||
|
|
||||||
access_log /dev/stdout;
|
access_log /dev/stdout;
|
||||||
error_log /dev/stderr error;
|
error_log /dev/stderr error;
|
||||||
|
|
||||||
expires $cache_expires;
|
expires $cache_expires;
|
||||||
|
|
||||||
root /usr/share/nginx/html;
|
location / {
|
||||||
try_files $uri /indexV2.html;
|
try_files $uri /indexV2.html;
|
||||||
|
}
|
||||||
|
|
||||||
location = /index.html {
|
location = /index.html {
|
||||||
return 301 /indexV2.html;
|
return 301 /indexV2.html;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue