mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-05-12 17:04:46 +00:00
update nginx settings
This commit is contained in:
parent
4fc6d0f5fa
commit
91fb346f31
@ -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;
|
gzip_types text/plain text/css application/json application/javascript application/x-javascript text/xml application/xml application/xml+rss text/javascript;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
# If you want to enable html5Mode(true) in your angularjs app for pretty URL
|
try_files $uri $uri/ /index.html;
|
||||||
# then all request for your angularJS app will be through index.html
|
|
||||||
try_files $uri /index.html;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user