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