Reverse proxy
This commit is contained in:
@@ -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 $?
|
||||||
|
|||||||
Reference in New Issue
Block a user