Reverse proxy

This commit is contained in:
2021-10-21 16:05:06 -04:00
parent 95353505ae
commit 828982f93c

View File

@@ -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