From e9c43f61e33b1847706bebd8567e295ba3a0cc18 Mon Sep 17 00:00:00 2001 From: Devon Mackay Date: Wed, 8 Aug 2018 08:27:38 -0400 Subject: [PATCH] Temp: remove basic auth for testing --- deploy/kubernetes/atst-nginx-configmap.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/deploy/kubernetes/atst-nginx-configmap.yml b/deploy/kubernetes/atst-nginx-configmap.yml index ca80bec7..d210d7c3 100644 --- a/deploy/kubernetes/atst-nginx-configmap.yml +++ b/deploy/kubernetes/atst-nginx-configmap.yml @@ -15,11 +15,9 @@ data: #if ($http_x_forwarded_proto != 'https') { # return 301 https://$host$request_uri; #} - location /login-dev { - auth_basic "Developer Access"; - auth_basic_user_file /etc/nginx/.htpasswd; - try_files $uri @app; - } + #location /login-dev { + # try_files $uri @appbasicauth; + #} location / { try_files $uri @app; } @@ -27,6 +25,12 @@ data: include uwsgi_params; uwsgi_pass unix:///var/run/uwsgi/uwsgi.socket; } + location @appbasicauth { + include uwsgi_params; + uwsgi_pass unix:///var/run/uwsgi/uwsgi.socket; + #auth_basic "Developer Access"; + #auth_basic_user_file /etc/nginx/.htpasswd; + } } server { server_name auth.atat.codes;