bug fix nginx config
This commit is contained in:
+7
-12
@@ -1,16 +1,11 @@
|
|||||||
http {
|
server {
|
||||||
include mime.types;
|
listen 80;
|
||||||
|
server_name localhost;
|
||||||
|
|
||||||
server {
|
root /usr/share/nginx/html;
|
||||||
listen 80;
|
index index.html;
|
||||||
root /usr/share/nginx/html;
|
|
||||||
|
|
||||||
index index.html;
|
location / {
|
||||||
|
try_files $uri $uri/ /index.html;
|
||||||
location / {
|
|
||||||
try_files $uri $uri/ /index.html;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
event {}
|
|
||||||
Reference in New Issue
Block a user