Brief-Generator/frontend/nginx/nginx.conf
cami 1719399d19
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
Add nginx file so that the docker container will serve the files
2021-09-01 01:29:21 +02:00

13 lines
312 B
Nginx Configuration File

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