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