File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44server {
55
66 listen 80;
7+
8+ <% if (sslEnabled) { %>
79 listen 443 ssl spdy;
810
911 ssl_certificate <%=certDir%>/js.cx/ssl.pem;
@@ -12,6 +14,7 @@ server {
1214
1315 #add_header Strict-Transport-Security "max-age=31536000; includeSubdomains;";
1416 add_header X-Content-Type-Options nosniff;
17+ <% } %>
1518
1619 server_name js.cx;
1720
Original file line number Diff line number Diff line change 55server {
66
77 listen 80 ;
8+
9+ <% if ( sslEnabled ) { %>
810 listen 443 ssl spdy;
911
1012 ssl_certificate <%=certDir%> /learn . javascript . ru /ssl . pem ;
@@ -15,6 +17,7 @@ server {
1517 # so there won't be 301 -> 404
1618 # ~3 months?
1719 # add_header Strict-Transport-Security "max-age=31536000; includeSubdomains;";
20+ <% } ?>
1821
1922 server_name learn.javascript.ru yuri.javascript.ru javascript.in;
2023
You can’t perform that action at this time.
0 commit comments