From 144e2d0c556d7f1f36f87c67fe740e3b3acf80b6 Mon Sep 17 00:00:00 2001 From: Bryan Roessler Date: Thu, 21 Oct 2021 15:55:55 -0400 Subject: [PATCH] Reverse proxy --- script-install-reverse-proxy | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/script-install-reverse-proxy b/script-install-reverse-proxy index bd469ea4..4790d274 100644 --- a/script-install-reverse-proxy +++ b/script-install-reverse-proxy @@ -12,18 +12,18 @@ cat <<- 'EOF' > /etc/nginx/conf.d/hartmanlab.conf server { listen 80; server_name localhost.cockpit; - location / { + location /cockpit { proxy_pass http://localhost:9090/; - proxy_redirect http://localhost:9090/; + #proxy_redirect http://localhost:9090/; } } server { listen 80; - server_name localhost.robot; - location / { + server_name localhost; + location /robot { proxy_pass http://localhost:8888/; - proxy_redirect http://localhost:8888/; + #proxy_redirect http://localhost:8888/; } } EOF