Merge pull request #1683 from opnsense/ngx-cf

www/nginx: Add header for Cloudflare
This commit is contained in:
Fabian Franz BSc
2020-02-06 23:06:23 +01:00
committed by GitHub
3 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
PLUGIN_NAME= nginx
PLUGIN_VERSION= 1.17
PLUGIN_VERSION= 1.18
PLUGIN_COMMENT= Nginx HTTP server and reverse proxy
PLUGIN_DEPENDS= nginx
PLUGIN_MAINTAINER= franz.fabian.94@gmail.com
+5
View File
@@ -8,6 +8,11 @@ reuse, SSL offload and HTTP media streaming.
Plugin Changelog
================
1.18
* Add proxy header for CloudFlare
1.17
* allow to set worker_processes and worker_connections (contributed by ibanezbass in #1621)
@@ -659,6 +659,7 @@
<X-Real-IP>X-Real-IP (default)</X-Real-IP>
<X-Forwarded-For>X-Forwarded-For</X-Forwarded-For>
<proxy_protocol>PROXY Protocol</proxy_protocol>
<CF-Connecting-IP>CloudFlare Connecting IP</CF-Connecting-IP>
</OptionValues>
<Required>N</Required>
</real_ip_source>