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

This commit is contained in:
cami 2021-09-01 01:29:21 +02:00
parent 1a406e74ba
commit 1719399d19
1 changed files with 13 additions and 0 deletions

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