diff --git a/templates/manila/config/10-manila_wsgi.conf b/templates/manila/config/10-manila_wsgi.conf index acd5af459..12020f613 100644 --- a/templates/manila/config/10-manila_wsgi.conf +++ b/templates/manila/config/10-manila_wsgi.conf @@ -19,7 +19,9 @@ ## Logging ErrorLog /dev/stdout ServerSignature Off - CustomLog /dev/stdout combined + SetEnvIf X-Forwarded-For "^.*\..*\..*\..*" forwarded + CustomLog /dev/stdout combined env=!forwarded + CustomLog /dev/stdout proxy env=forwarded {{- if $vhost.TLS }} SetEnvIf X-Forwarded-Proto https HTTPS=1