aboutsummaryrefslogtreecommitdiff
path: root/extra/outbound.conf.nginx
blob: 1d4fd49f062ba6d9c9d20755066c52f48b304824 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Nginx example config for outbound application
# Needs setsebool -P http_can_network_connect 1
location /outbound/ {
   #proxy_redirect    off;
   proxy_set_header  X-Forwarded-For $proxy_add_x_forwarded_for;
   proxy_set_header  X-Real-IP $remote_addr;
   proxy_set_header  X-Script-Name /outbound;
   proxy_set_header  X-Forwarded-Host $host;
   proxy_set_header  X-Forwarded-Proto $scheme;
   proxy_set_header  X-Forwarded-Prefix "/outbound";
   proxy_pass  http://localhost:4682/;
}

bgstack15