diff --git a/MUOR/MUOR/configs/muor.conf b/MUOR/MUOR/configs/muor.conf index 93a85fb50..e59658976 100644 --- a/MUOR/MUOR/configs/muor.conf +++ b/MUOR/MUOR/configs/muor.conf @@ -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; diff --git a/MUOR/MUOR/configs/muor_before_location_block.conf b/MUOR/MUOR/configs/muor_before_location_block.conf index 8417efe47..4b6b04e58 100644 --- a/MUOR/MUOR/configs/muor_before_location_block.conf +++ b/MUOR/MUOR/configs/muor_before_location_block.conf @@ -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 +