Skip to content

Why does the documentation recommend using https off; with nginx #5517

Closed
@wjzijderveld

Description

@wjzijderveld

In the Configuring a Web Server it includes fastcgi_param HTTPS off; for the nginx configuration. This can cause issues when you are using HTTPs.

I guess that this config is partly copied from the nginx wiki?
But there it makes more sense, as the Nginx also mentions the SSL server.

Our usecase is an oauth server, which is using the Symfony Security component. In the HttpUtils it lets the request generate the uri when a relative path is given. The Request then uses the HTTP flag to determine if it should generate an https url. This caused our oauth to redirect our https call back to a http url.

I would suggest we remove the line from documentation here and let the default values be used. I think most distributions use a file similar as mentioned here: http://wiki.nginx.org/PHPFcgiExample

Metadata

Metadata

Assignees

No one assigned

    Labels

    hasPRA Pull Request has already been submitted for this issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions