Temp: remove basic auth for testing
This commit is contained in:
parent
b83b62aea0
commit
e9c43f61e3
@ -15,11 +15,9 @@ data:
|
|||||||
#if ($http_x_forwarded_proto != 'https') {
|
#if ($http_x_forwarded_proto != 'https') {
|
||||||
# return 301 https://$host$request_uri;
|
# return 301 https://$host$request_uri;
|
||||||
#}
|
#}
|
||||||
location /login-dev {
|
#location /login-dev {
|
||||||
auth_basic "Developer Access";
|
# try_files $uri @appbasicauth;
|
||||||
auth_basic_user_file /etc/nginx/.htpasswd;
|
#}
|
||||||
try_files $uri @app;
|
|
||||||
}
|
|
||||||
location / {
|
location / {
|
||||||
try_files $uri @app;
|
try_files $uri @app;
|
||||||
}
|
}
|
||||||
@ -27,6 +25,12 @@ data:
|
|||||||
include uwsgi_params;
|
include uwsgi_params;
|
||||||
uwsgi_pass unix:///var/run/uwsgi/uwsgi.socket;
|
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 {
|
||||||
server_name auth.atat.codes;
|
server_name auth.atat.codes;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user