diff options
author | B. Stack <bgstack15@gmail.com> | 2022-03-16 14:10:45 -0400 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2022-03-16 14:10:45 -0400 |
commit | 5ff15f53eb16c1b6326c6127744908d9b105214c (patch) | |
tree | 654eeb5729f1f3be6022c1b3be2ea9480c3c3f16 /extra/fifconfig.conf.nginx | |
download | fifconfig-5ff15f53eb16c1b6326c6127744908d9b105214c.tar.gz fifconfig-5ff15f53eb16c1b6326c6127744908d9b105214c.tar.bz2 fifconfig-5ff15f53eb16c1b6326c6127744908d9b105214c.zip |
initial commit
Diffstat (limited to 'extra/fifconfig.conf.nginx')
-rw-r--r-- | extra/fifconfig.conf.nginx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/extra/fifconfig.conf.nginx b/extra/fifconfig.conf.nginx new file mode 100644 index 0000000..a626430 --- /dev/null +++ b/extra/fifconfig.conf.nginx @@ -0,0 +1,13 @@ +# Nginx example config for fifconfig application +# Needs setsebool -P http_can_network_connect 1 +location /fifconfig/ { + #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 /fifconfig; + proxy_set_header X-Forwarded-Host $host; + proxy_set_header X-Forwarded-Proto $scheme; + proxy_set_header X-Forwarded-Prefix "/fifconfig"; + proxy_pass http://localhost:4681/; +} + |