diff --git a/conf/nginx.conf b/conf/nginx.conf index 3a956e8..8d207d7 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,11 +1,11 @@ rewrite ^__PATH__$ __PATH__/; -location ~ __PATH__/$ { +location ~ ^__PATH__/$ { default_type text/plain; return 200 "This is where Dex is installed."; } -location ~ __PATH__/.+ { +location ~ ^__PATH__/.+ { proxy_pass http://127.0.0.1:__PORT__; proxy_redirect off;