Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: modules/web/templates/global.conf.erb

Issue 5734493784637440: Issue 245 - Unify SSL configuration for all servers (Closed)
Patch Set: Created April 2, 2014, 2:05 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
(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 %>
OLDNEW

Powered by Google App Engine
This is Rietveld