Index: modules/filterserver/templates/easylist-downloads.adblockplus.org.erb |
=================================================================== |
rename from modules/filterserver/files/easylist-downloads.adblockplus.org |
rename to modules/filterserver/templates/easylist-downloads.adblockplus.org.erb |
--- a/modules/filterserver/files/easylist-downloads.adblockplus.org |
+++ b/modules/filterserver/templates/easylist-downloads.adblockplus.org.erb |
@@ -1,13 +1,20 @@ |
server { |
- listen 80 default_server; |
- listen [::]:80 default_server; |
- listen 443 ssl default_server; |
- listen [::]:443 ssl default_server; |
+ <% if is_default %> |
+ listen 80 default_server; |
+ listen [::]:80 default_server; |
+ listen 443 ssl default_server; |
+ listen [::]:443 ssl default_server; |
+ <% else %> |
+ listen 80; |
+ listen [::]:80; |
+ listen 443 ssl; |
+ listen [::]:443 ssl; |
+ <% end %> |
server_name easylist-downloads.adblockplus.org easylist-msie.adblockplus.org; |
access_log /var/log/nginx/access_log_easylist_downloads main; |
root /var/www/easylist; |
keepalive_timeout 0; |
charset utf-8; |
gzip_static on; |
default_type text/plain; |