docker compose
This commit is contained in:
13
nginx/templates/default_cfg.conf.template
Normal file
13
nginx/templates/default_cfg.conf.template
Normal 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";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user