LINUX.ORG.RU

История изменений

Исправление router, (текущая версия) :

nginx:

        proxy_set_header    X-Forwarded-Proto   https;
        proxy_set_header   HTTPS   on;

apache:

    RewriteEngine   On
    RewriteCond %{HTTP:X-Forwarded-Proto}   ^https$
    RewriteRule .*  -   [E=HTTPS:on]

Исходная версия router, :

nginx:

        proxy_set_header   HTTPS   on;
        proxy_set_header    X-Real-IP   $remote_addr;

apache:

    RewriteEngine   On
    RewriteCond %{HTTP:X-Forwarded-Proto}   ^https$
    RewriteRule .*  -   [E=HTTPS:on]