General Changes

This commit is contained in:
Allen
2023-09-23 16:54:02 -05:00
parent 455b5b698e
commit 07ece20adb
2 changed files with 20 additions and 3 deletions

View File

@ -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