Getting weird issue with Nginx reverse Proxy

blason nginx-forum at
Fri Mar 4 03:37:59 UTC 2022

Here is Apache config

    ServerAdmin webmaster at
    DocumentRoot /var/www/fs/
        ErrorLog /var/log/apache2/fs/error.log
        CustomLog /var/log/apache2/fs/access.log combined
LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b \"%{Referer}i\"
\"%{User-Agent}i\"" proxy
#SetEnvIf X-Forwarded-For "^.*\..*\..*\..*" forwarded
#CustomLog "logs/access_log" combined env=!forwarded
#CustomLog "logs/access_log" proxy env=forwarded

    <Directory "/var/www/fs/">
        Options Indexes FollowSymLinks Includes ExecCGI

Posted at Nginx Forum:,293780,293788#msg-293788

More information about the nginx mailing list