mirror of
https://github.com/aykhans/portfolio-blog.git
synced 2026-10-21 09:48:29 +00:00
fix: get_remote_address & merged docker compose files
This commit is contained in:
1 parent
7f97360c9f
commit
98e05a1094
5 files changed
+2
-81
No files matched your search
File renamed without changes.
@@ -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/;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user