1
0
mirror of https://github.com/thib8956/nginx-proxy synced 2024-12-26 04:26:31 +00:00

Merge pull request #108 from md5/fix-wildcard-https-redirect

Fix HTTP->HTTPS redirect for wildcard hosts
This commit is contained in:
Jason Wilder 2015-02-25 11:37:21 -07:00
commit 879bb59d90

View File

@ -88,7 +88,7 @@ upstream {{ $host }} {
server {
server_name {{ $host }};
rewrite ^(.*) https://{{ $host }}$1 permanent;
return 301 https://$host$request_uri;
}
server {