We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e5d1d19 + cc425c1 commit 5fb73faCopy full SHA for 5fb73fa
1 file changed
templates/swiftproxy/config/httpd.conf
@@ -32,7 +32,9 @@ TimeOut {{ .APITimeout }}
32
## Logging
33
ErrorLog /dev/stdout
34
ServerSignature Off
35
- CustomLog /dev/stdout combined
+ SetEnvIf X-Forwarded-For "^.*\..*\..*\..*" forwarded
36
+ CustomLog /dev/stdout combined env=!forwarded
37
+ CustomLog /dev/stdout proxy env=forwarded
38
39
## Request header rules
40
## as per http://httpd.apache.org/docs/2.2/mod/mod_headers.html#requestheader
0 commit comments