Another nginx-angular related update
This commit is contained in:
parent
5e0161cb7c
commit
f25806507a
17
nginx.conf
17
nginx.conf
|
@ -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;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue