Left: | ||
Right: |
OLD | NEW |
---|---|
(Empty) | |
1 <% if @aliases %> | |
2 <% @aliases.each do |vhost_alias| %> | |
3 server | |
4 { | |
5 listen 80; | |
6 listen [::]:80; | |
7 listen 443 ssl spdy; | |
8 listen [::]:443 ssl spdy; | |
9 | |
10 server_name '<%= vhost_alias %>'; | |
11 | |
12 ssl_certificate adblockplus.org_sslcert.pem; | |
13 ssl_certificate_key adblockplus.org_sslcert.key; | |
14 | |
15 location / | |
16 { | |
17 rewrite .* https://<%= vhost %>/ redirect; | |
18 } | |
19 } | |
20 <% end %> | |
21 <% end %> | |
OLD | NEW |