diff --git a/roles/nginxplus/files/conf/http/pulcheck_staging.conf b/roles/nginxplus/files/conf/http/pulcheck_staging.conf index c018952855..61ef5bdea5 100644 --- a/roles/nginxplus/files/conf/http/pulcheck_staging.conf +++ b/roles/nginxplus/files/conf/http/pulcheck_staging.conf @@ -29,7 +29,11 @@ server { ssl_session_cache shared:SSL:1m; ssl_prefer_server_ciphers on; + # Redirect top level traffic to /pulmonitor/ location / { + return 302 https://$server_name/pulmonitor/; + } + location /pulmonitor/ { proxy_pass http://pulcheck-staging/pulmonitor/; proxy_set_header X-Forwarded-Host $host; proxy_cache pulcheck-stagingcache;