Add nginx file so that the docker container will serve the files
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing

This commit is contained in:
cami 2021-09-01 01:29:21 +02:00
parent 1a406e74ba
commit 1719399d19

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;
}