Changeset 6168:62869a9b2e7d in nginx


Ignore:
Timestamp:
06/05/15 19:23:26 (3 years ago)
Author:
Maxim Dounin <mdounin@…>
Branch:
default
Message:

Added the REQUEST_SCHEME parameter.

The REQUEST_SCHEME parameter was introduced in Apache 2.3.11 and seems
to be used by some scripts now. It looks more logical than previously
used HTTPS.

Location:
conf
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • conf/fastcgi.conf

    r4379 r6168  
    1111fastcgi_param  DOCUMENT_ROOT      $document_root;
    1212fastcgi_param  SERVER_PROTOCOL    $server_protocol;
     13fastcgi_param  REQUEST_SCHEME     $scheme;
    1314fastcgi_param  HTTPS              $https if_not_empty;
    1415
  • conf/fastcgi_params

    r4333 r6168  
    1010fastcgi_param  DOCUMENT_ROOT      $document_root;
    1111fastcgi_param  SERVER_PROTOCOL    $server_protocol;
     12fastcgi_param  REQUEST_SCHEME     $scheme;
    1213fastcgi_param  HTTPS              $https if_not_empty;
    1314
  • conf/scgi_params

    r4333 r6168  
    99scgi_param  SCGI               1;
    1010scgi_param  SERVER_PROTOCOL    $server_protocol;
     11scgi_param  REQUEST_SCHEME     $scheme;
    1112scgi_param  HTTPS              $https if_not_empty;
    1213
  • conf/uwsgi_params

    r4333 r6168  
    99uwsgi_param  DOCUMENT_ROOT      $document_root;
    1010uwsgi_param  SERVER_PROTOCOL    $server_protocol;
     11uwsgi_param  REQUEST_SCHEME     $scheme;
    1112uwsgi_param  HTTPS              $https if_not_empty;
    1213
Note: See TracChangeset for help on using the changeset viewer.