proper habpanel redirect
This commit is contained in:
@@ -53,10 +53,10 @@ nginx:
|
|||||||
- listen:
|
- listen:
|
||||||
- '80 default_server'
|
- '80 default_server'
|
||||||
- location /:
|
- location /:
|
||||||
- return: 301 http://$host/habpanel/index.html#/
|
- return: 301 http://$host/habpanel/index.html
|
||||||
- location ~ ^/(habpanel.*):
|
- location /habpanel/:
|
||||||
- proxy_redirect: 'off'
|
- proxy_redirect: 'off'
|
||||||
- proxy_pass: http://auto01:8080/$1
|
- proxy_pass: http://auto01:8080
|
||||||
- location /rest:
|
- location /rest:
|
||||||
- proxy_redirect: 'off'
|
- proxy_redirect: 'off'
|
||||||
- proxy_pass: http://auto01:8080
|
- proxy_pass: http://auto01:8080
|
||||||
@@ -156,4 +156,4 @@ systemd:
|
|||||||
# name: auto01
|
# name: auto01
|
||||||
# host: 127.0.0.1
|
# host: 127.0.0.1
|
||||||
# port: 8080
|
# port: 8080
|
||||||
# check: check
|
# check: check
|
||||||
|
|||||||
Reference in New Issue
Block a user