Why does nginx rewrite sending https to http?

Francis Daly francis at daoine.org
Sat Apr 29 12:45:21 UTC 2017


On Wed, Apr 26, 2017 at 12:32:27PM -0400, Kevin wrote:

Hi there,

> I'm trying to rewrite some route in cloud foundry static buildpack, but
> whenever I rewrite, the https goes to http.
> 
> So I add return with / with /login, then it goes to http://server/, even it
> starts with https://server/login.

The nginx config fragment that you show, by itself will not show the
behaviour that you report.

Possibly there is some other config or relevant architecture that is
involved?

Good luck with it,

	f
-- 
Francis Daly        francis at daoine.org


More information about the nginx mailing list