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

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