diff --git a/nginx.conf b/nginx.conf index e898ca067..ea9434b3d 100644 --- a/nginx.conf +++ b/nginx.conf @@ -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; } } }