Reverse proxy

This commit is contained in:
2021-10-21 16:10:24 -04:00
parent 48ac5b391d
commit 15bc187b15

View File

@@ -13,14 +13,14 @@ server {
listen 80 default_server; listen 80 default_server;
server_name localhost; server_name localhost;
location /cockpit { location /cockpit {
proxy_pass http://127.0.0.1:9090/; proxy_pass http://localhost:9090;
proxy_redirect http://127.0.0.1:9090/; proxy_redirect http://localhost:9090/;
} }
} }
EOF EOF
# location /robot { # 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/; # proxy_redirect http://127.0.0.1:8888/;
# } # }