From ac33eb3189e570d768b8f7cb05fc5efd940748be Mon Sep 17 00:00:00 2001 From: Limezy Date: Tue, 14 May 2024 11:14:33 +0700 Subject: [PATCH] Fix linter warning --- conf/nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;