diff options
author | B Stack <bgstack15@gmail.com> | 2022-02-14 22:49:17 -0500 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2022-02-14 22:49:17 -0500 |
commit | c364901df2ef04553fc7508c31446ad14ac93737 (patch) | |
tree | 7f2441778eba0661195024484122e55754e52bcd /extra/stackbin.conf.nginx | |
parent | add initial centos7 doc (diff) | |
download | stackbin-c364901df2ef04553fc7508c31446ad14ac93737.tar.gz stackbin-c364901df2ef04553fc7508c31446ad14ac93737.tar.bz2 stackbin-c364901df2ef04553fc7508c31446ad14ac93737.zip |
r-proxy support with /set endpoint, and extra dir
The extra dir is still WIP
Diffstat (limited to 'extra/stackbin.conf.nginx')
-rw-r--r-- | extra/stackbin.conf.nginx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/extra/stackbin.conf.nginx b/extra/stackbin.conf.nginx new file mode 100644 index 0000000..e53b252 --- /dev/null +++ b/extra/stackbin.conf.nginx @@ -0,0 +1,13 @@ +# Nginx example config for stackbin application +# Needs setsebool -P http_can_network_connect 1 +location /stackbin/ { + #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 /stackbin; + proxy_set_header X-Forwarded-Host $host; + proxy_set_header X-Forwarded-Proto $scheme; + proxy_set_header X-Forwarded-Prefix "/stackbin"; + proxy_pass http://localhost:4680/; +} + |