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: Converted Nagios site configuration and centralized error page configuration Created April 10, 2014, 6:40 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « modules/web/manifests/server.pp ('k') | modules/web/templates/site.conf.erb » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « modules/web/manifests/server.pp ('k') | modules/web/templates/site.conf.erb » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld