diff --git a/script-install-reverse-proxy b/script-install-reverse-proxy index 6e9b5ab6..a0fd4b08 100644 --- a/script-install-reverse-proxy +++ b/script-install-reverse-proxy @@ -8,19 +8,17 @@ is_root dnf install -y nginx || exit $? - - cat <<- 'EOF' > /etc/nginx/conf.d/hartmanlab.conf server { listen 80; - server_name lab.cockpit; + server_name localhost.cockpit; location / { proxy_pass http://127.0.0.1:9090/; } } server { listen 80; - server_name lab.robot; + server_name localhost.robot; location / { proxy_pass http://127.0.0.1:8888/; }