first attempt

This commit is contained in:
2023-03-20 19:58:28 +01:00
parent bf9b17836d
commit 23f939c16a
4 changed files with 54 additions and 0 deletions

21
nginx/nginx.conf Normal file
View File

@@ -0,0 +1,21 @@
server {
listen 80;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
# to redirect all the requests to index.html,
# useful when you are using react-router
try_files $uri /index.html;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
}