remove uwsgi params
This commit is contained in:
parent
b6c99a4f02
commit
5c9b73492e
@ -48,7 +48,7 @@ server {
|
|||||||
|
|
||||||
location /logout/ {
|
location /logout/ {
|
||||||
uwsgi_pass django;
|
uwsgi_pass django;
|
||||||
include /etc/nginx/uwsgi_params;
|
# include /etc/nginx/uwsgi_params;
|
||||||
}
|
}
|
||||||
|
|
||||||
# Finally, send all non-media requests to the Django server.
|
# Finally, send all non-media requests to the Django server.
|
||||||
@ -56,8 +56,7 @@ server {
|
|||||||
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;
|
||||||
include /etc/nginx/uwsgi_params;
|
# include /etc/nginx/uwsgi_params;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
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;
|
||||||
include /etc/nginx/uwsgi_params;
|
# include /etc/nginx/uwsgi_params;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ server {
|
|||||||
|
|
||||||
location /logout/ {
|
location /logout/ {
|
||||||
uwsgi_pass django;
|
uwsgi_pass django;
|
||||||
include /etc/nginx/uwsgi_params;
|
# include /etc/nginx/uwsgi_params;
|
||||||
}
|
}
|
||||||
|
|
||||||
# Finally, send all non-media requests to the Django server.
|
# Finally, send all non-media requests to the Django server.
|
||||||
|
Loading…
Reference in New Issue
Block a user