Reverse proxy

This commit is contained in:
2021-10-21 16:09:26 -04:00
parent 828982f93c
commit 48ac5b391d

View File

@@ -16,13 +16,14 @@ server {
proxy_pass http://127.0.0.1:9090/; proxy_pass http://127.0.0.1:9090/;
proxy_redirect http://127.0.0.1:9090/; proxy_redirect http://127.0.0.1:9090/;
} }
location /robot {
proxy_pass http://127.0.0.1:8888/;
proxy_redirect http://127.0.0.1:8888/;
}
} }
EOF EOF
# location /robot {
# proxy_pass http://127.0.0.1:8888/;
# proxy_redirect http://127.0.0.1:8888/;
# }
systemctl enable --now nginx systemctl enable --now nginx
exit $? exit $?