General Changes
This commit is contained in:
@ -33,14 +33,31 @@ server {
|
||||
proxy_set_header Host $host;
|
||||
}
|
||||
|
||||
location /logout {
|
||||
proxy_pass http://docker-django:8000/logout;
|
||||
proxy_set_header Host $host;
|
||||
|
||||
|
||||
}
|
||||
|
||||
location / {
|
||||
root /usr/share/nginx/html;
|
||||
index index.html index.htm;
|
||||
proxy_pass http://docker-django:8000;
|
||||
proxy_set_header Host $host;
|
||||
}
|
||||
|
||||
# location /index {
|
||||
# proxy_pass http://docker-django:8000;
|
||||
# proxy_set_header Host $host;
|
||||
|
||||
# }
|
||||
|
||||
|
||||
|
||||
|
||||
#location / {
|
||||
# root /usr/share/nginx/html;
|
||||
# index index.html index.htm;
|
||||
#}
|
||||
|
||||
#error_page 404 /404.html;
|
||||
|
||||
# redirect server error pages to the static page /50x.html
|
||||
|
Reference in New Issue
Block a user