Another nginx-angular related update

This commit is contained in:
Nicolai Ort 2020-06-10 13:25:26 +02:00
parent 5e0161cb7c
commit f25806507a
1 changed files with 9 additions and 8 deletions

View File

@ -5,10 +5,11 @@ events { worker_connections 1024; }
http { http {
server { server {
listen 80; listen 80;
location / {
root /usr/share/nginx/html; root /usr/share/nginx/html;
index index.html index.htm; include /etc/nginx/mime.types;
try_files $uri $uri/ /index.html =404;
location / {
try_files $uri /index.html;
} }
} }
} }