Add nginx file so that the docker container will serve the files #2

Merged
cami merged 1 commit from nginx/config into main 2021-08-31 23:31:31 +00:00
Showing only changes of commit 1719399d19 - Show all commits

13
frontend/nginx/nginx.conf Normal file
View file

@ -0,0 +1,13 @@
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;
}