add default proxy pass before ifs
This commit is contained in:
parent
cfcdc0547b
commit
415e3e1f9d
@ -54,6 +54,8 @@ server {
|
||||
|
||||
# Finally, send all non-media requests to the Django server.
|
||||
location / {
|
||||
proxy_pass http://django; # TODO prolly change that to uwsgi_pass
|
||||
|
||||
if ($cookie_sessionid = ""){
|
||||
proxy_pass http://django; # TODO prolly change that to uwsgi_pass
|
||||
# uwsgi_pass django;
|
||||
|
@ -55,3 +55,5 @@ server {
|
||||
|
||||
# Finally, send all non-media requests to the Django server.
|
||||
location / {
|
||||
proxy_pass http://django; # TODO prolly change that to uwsgi_pass
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user