Add nginx conf

This commit is contained in:
k.struzhkin 2020-10-21 16:12:51 +03:00
parent b871c927ac
commit 2cb3bbda00

15
nginx.conf Normal file
View File

@ -0,0 +1,15 @@
server {
listen 8080;
server_name localhost;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
try_files $uri $uri/ /index.html =404;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
}