Closed montchr closed 5 years ago
Visiting an HTTP URL does not redirect to HTTPS on staging:
http://staging.billypenn.com/2018/07/31/this-magical-sculpture-garden-in-west-kensington-is-a-colombian-american-artists-dream/ http://staging.billypenn.com/ads.txt
The redirection works in production and in my local environment.
Fixed by adding listen 80 default_server; to the server block. See https://github.com/spiritedmedia/systems/tree/master/web-servers/staging.spiritedmedia.com#nginx-configuration-updates
listen 80 default_server;
Visiting an HTTP URL does not redirect to HTTPS on staging:
http://staging.billypenn.com/2018/07/31/this-magical-sculpture-garden-in-west-kensington-is-a-colombian-american-artists-dream/ http://staging.billypenn.com/ads.txt
The redirection works in production and in my local environment.