13 lines
337 B
Plaintext
13 lines
337 B
Plaintext
|
server {
|
||
|
listen 80;
|
||
|
location / {
|
||
|
root /usr/share/nginx/html;
|
||
|
index index.html index.htm;
|
||
|
try_files $uri $uri/ /index.html;
|
||
|
expires -1; # Set it to different value depending on your standard requirements
|
||
|
}
|
||
|
error_page 500 502 503 504 /50x.html;
|
||
|
location = /50x.html {
|
||
|
root /usr/share/nginx/html;
|
||
|
}
|
||
|
}
|