From 15bc187b15fa0080e2ab1909a711b7074f5abf78 Mon Sep 17 00:00:00 2001 From: Bryan Roessler Date: Thu, 21 Oct 2021 16:10:24 -0400 Subject: [PATCH] Reverse proxy --- script-install-reverse-proxy | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/script-install-reverse-proxy b/script-install-reverse-proxy index cdef8bad..625f6893 100644 --- a/script-install-reverse-proxy +++ b/script-install-reverse-proxy @@ -13,14 +13,14 @@ server { listen 80 default_server; server_name localhost; location /cockpit { - proxy_pass http://127.0.0.1:9090/; - proxy_redirect http://127.0.0.1:9090/; + proxy_pass http://localhost:9090; + proxy_redirect http://localhost:9090/; } } EOF # 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/; # }