update nginx settings

This commit is contained in:
Denys Vuika 2017-11-09 09:39:32 +00:00
parent 4fc6d0f5fa
commit 91fb346f31

View File

@ -19,9 +19,7 @@ http {
gzip_types text/plain text/css application/json application/javascript application/x-javascript text/xml application/xml application/xml+rss text/javascript;
location / {
# If you want to enable html5Mode(true) in your angularjs app for pretty URL
# then all request for your angularJS app will be through index.html
try_files $uri /index.html;
try_files $uri $uri/ /index.html;
}
}
}