mirror of
https://github.com/sartography/cr-connect-bpmn.git
synced 2025-01-13 18:36:00 +00:00
Add root location
This commit is contained in:
parent
8d7673f7d4
commit
f88e074d6e
@ -1,10 +1,15 @@
|
|||||||
server {
|
server {
|
||||||
listen $PORT0;
|
listen $PORT0;
|
||||||
|
|
||||||
|
location / {
|
||||||
root /usr/share/nginx/html;
|
root /usr/share/nginx/html;
|
||||||
index index.html index.htm;
|
index index.html index.htm;
|
||||||
|
try_files $uri$args $uri$args/ /index.html =404;
|
||||||
|
}
|
||||||
|
|
||||||
location $BASE_HREF/ {
|
location $BASE_HREF/ {
|
||||||
alias /usr/share/nginx/html;
|
alias /usr/share/nginx/html;
|
||||||
|
index index.html index.htm;
|
||||||
try_files $uri$args $uri$args/ $BASE_HREF/index.html =404;
|
try_files $uri$args $uri$args/ $BASE_HREF/index.html =404;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user