aboutsummaryrefslogtreecommitdiff
path: root/extra/outbound.conf.nginx
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2022-11-29 16:09:22 -0500
committerB. Stack <bgstack15@gmail.com>2022-11-29 16:09:22 -0500
commit4a8ce7e2862b338a7f8e34d016a3119290239b0b (patch)
tree951ad8a52ddf31e489e4fab7c0d0c96947d6b0f4 /extra/outbound.conf.nginx
downloadoutbound-master.tar.gz
outbound-master.tar.bz2
outbound-master.zip
initial commitHEADmaster
Diffstat (limited to 'extra/outbound.conf.nginx')
-rw-r--r--extra/outbound.conf.nginx13
1 files changed, 13 insertions, 0 deletions
diff --git a/extra/outbound.conf.nginx b/extra/outbound.conf.nginx
new file mode 100644
index 0000000..1d4fd49
--- /dev/null
+++ b/extra/outbound.conf.nginx
@@ -0,0 +1,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