Reverse proxy

This commit is contained in:
2021-10-21 15:41:14 -04:00
parent 22750ea4c1
commit 7ad6db55d0

View File

@@ -18,14 +18,14 @@ server {
proxy_pass http://127.0.0.1:9090/;
}
}
server {
listen 80;
listen [::]:80;
server_name localhost.robot;
location / {
proxy_pass http://127.0.0.1:8888/;
}
}
# server {
# listen 80;
# listen [::]:80;
# server_name localhost.robot;
# location / {
# proxy_pass http://127.0.0.1:8888/;
# }
# }
EOF
systemctl enable --now nginx