Reverse proxy
This commit is contained in:
@@ -13,14 +13,14 @@ server {
|
||||
listen 80 default_server;
|
||||
server_name localhost;
|
||||
location /cockpit {
|
||||
proxy_pass http://127.0.0.1:9090/;
|
||||
proxy_redirect http://127.0.0.1:9090/;
|
||||
proxy_pass http://localhost:9090;
|
||||
proxy_redirect http://localhost:9090/;
|
||||
}
|
||||
}
|
||||
EOF
|
||||
|
||||
# location /robot {
|
||||
# proxy_pass http://127.0.0.1:8888/;
|
||||
# proxy_pass http://127.0.0.1:8888;
|
||||
# proxy_redirect http://127.0.0.1:8888/;
|
||||
# }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user