You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes a bug in which requests blocked by NAXSI came back as a 502 rather
than a 418 when running with proxy protocol enabled. This is because the
/RequestDenied route proxies to localhost but doesn't know to speak
proxy protocol.
This has been fixed by giving NAXSI its own private port (defaults to 10418) that
never expects proxy protocol.
Also makes the port configurable via an environment variable.
This may also be useful for SysDig.
Copy file name to clipboardExpand all lines: README.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -78,7 +78,8 @@ This is useful when testing or for development instances or when a load-balancer
78
78
*`SSL_CIPHERS` - Change the SSL ciphers support default only AES256+EECDH:AES256+EDH:!aNULL
79
79
*`SSL_PROTOCOLS` - Change the SSL protocols supported default only TLSv1.2
80
80
*`HTTP_LISTEN_PORT` - Change the default inside the container from 80.
81
-
*`HTTPS_LISTEN_PORT` - Change the default inside the container from 443.
81
+
*`HTTPS_LISTEN_PORT` - Change the default inside the container from 443.
82
+
*`INTERNAL_LISTEN_PORT` - Change the default inside the container from 10418. Note: This is used for internal processing and is not available externally.
82
83
*`HTTPS_REDIRECT` - Toggle whether or not we force redirects to HTTPS. Defaults to true.
83
84
*`ALLOW_COUNTRY_CSV` - List of [country codes](http://dev.maxmind.com/geoip/legacy/codes/iso3166/) to allow.
84
85
*`STATSD_METRICS_ENABLED` - Toggle if metrics are logged to statsd (defaults to true)
0 commit comments