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

Unified Diff: modules/downloadserver/files/downloads.adblockplus.org

Issue 10642004: Simplify filter download server configuration (Closed)
Patch Set: Created May 22, 2013, 8:16 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | modules/filterserver/files/easylist-downloads.adblockplus.org » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/downloadserver/files/downloads.adblockplus.org
===================================================================
--- a/modules/downloadserver/files/downloads.adblockplus.org
+++ b/modules/downloadserver/files/downloads.adblockplus.org
@@ -1,20 +1,20 @@
# downloads.adblockplus.org
server {
- listen 80;
- listen [::]:80;
+ listen 80 default_server;
+ listen [::]:80 default_server;
server_name downloads.adblockplus.org;
location / {
rewrite (.*) https://downloads.adblockplus.org$1 permanent;
}
}
server {
- listen 443 ssl;
- listen [::]:443 ssl;
+ listen 443 ssl default_server;
+ listen [::]:443 ssl default_server;
server_name downloads.adblockplus.org;
ssl_certificate sites-available/adblockplus.org_sslcert.pem;
ssl_certificate_key sites-available/adblockplus.org_sslcert.key;
# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
« no previous file with comments | « no previous file | modules/filterserver/files/easylist-downloads.adblockplus.org » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld