mirror of
https://github.com/sartography/cr-connect-bpmn.git
synced 2025-02-16 18:38:00 +00:00
Hacks 404 to force routing to index.html
This commit is contained in:
parent
051db5ab99
commit
fcfe012f6d
@ -1,13 +1,14 @@
|
||||
server {
|
||||
listen $PORT0;
|
||||
root /usr/share/nginx/html;
|
||||
index index.html index.htm;
|
||||
|
||||
location $BASE_HREF/ {
|
||||
alias /usr/share/nginx/html;
|
||||
root /usr/share/nginx/html;
|
||||
index index.html index.htm;
|
||||
try_files $uri$args $uri$args/ $BASE_HREF/index.html =404;
|
||||
}
|
||||
|
||||
error_page 404 $BASE_HREF/index.html
|
||||
|
||||
include /etc/nginx/extra-conf.d/*.conf;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user