From 27329e5fa8d5534b5cb6394805681fd530e680fd Mon Sep 17 00:00:00 2001 From: Bryan Roessler Date: Thu, 21 Oct 2021 16:12:13 -0400 Subject: [PATCH] Reverse proxy --- script-install-reverse-proxy | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/script-install-reverse-proxy b/script-install-reverse-proxy index 26150e18..67e0044c 100644 --- a/script-install-reverse-proxy +++ b/script-install-reverse-proxy @@ -10,12 +10,12 @@ dnf install -y nginx || exit $? cat <<- 'EOF' > /etc/nginx/conf.d/hartmanlab.conf server { - listen 80 default_server; - server_name localhost; - location /cockpit { - proxy_pass http://localhost:9090; - proxy_redirect http://localhost:9090; - } + listen 80 default_server; + server_name localhost; + location /cockpit { + proxy_pass http://localhost:9090; + proxy_redirect http://localhost:9090; + } } EOF