14 lines
322 B
Plaintext
14 lines
322 B
Plaintext
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";
|
|
}
|
|
}
|