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.
|
# Finally, send all non-media requests to the Django server.
|
||||||
location / {
|
location / {
|
||||||
|
proxy_pass http://django; # TODO prolly change that to uwsgi_pass
|
||||||
|
|
||||||
if ($cookie_sessionid = ""){
|
if ($cookie_sessionid = ""){
|
||||||
proxy_pass http://django; # TODO prolly change that to uwsgi_pass
|
proxy_pass http://django; # TODO prolly change that to uwsgi_pass
|
||||||
# uwsgi_pass django;
|
# uwsgi_pass django;
|
||||||
|
@ -55,3 +55,5 @@ server {
|
|||||||
|
|
||||||
# Finally, send all non-media requests to the Django server.
|
# Finally, send all non-media requests to the Django server.
|
||||||
location / {
|
location / {
|
||||||
|
proxy_pass http://django; # TODO prolly change that to uwsgi_pass
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user