fix: get_remote_address & merged docker compose files

This commit is contained in:
2023-09-20 20:56:09 +04:00
parent 7f97360c9f
commit 98e05a1094
5 changed files with 2 additions and 81 deletions

View File

@@ -1,23 +0,0 @@
upstream app_server{
server app:8000;
}
server{
listen 80;
server_name ui.aykhans.me;
location / {
proxy_pass http://app_server;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_CF_Connecting_IP;
proxy_redirect off;
}
location /static/ {
alias /static/;
}
location /media/ {
alias /media/;
}
}