docker compose

This commit is contained in:
2025-10-27 14:40:01 +05:00
parent e34f1baf50
commit 51a3308f8c
15 changed files with 221 additions and 13 deletions

View File

@@ -0,0 +1,8 @@
server {
listen 8080;
location / {
proxy_set_header X-Real-IP $remote_addr;
proxy_pass http://localhost:13200;
}
}

View File

@@ -0,0 +1 @@
/etc/nginx/sites-available/backend.local.conf

View File

@@ -0,0 +1,13 @@
server {
listen 8080;
location / {
proxy_pass http://backend:${BACKEND_PORT};
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Testing-Header "$remote_addr $host";
}
}