about summary refs log tree commit diff
path: root/dist/nginx.conf
diff options
context:
space:
mode:
Diffstat (limited to 'dist/nginx.conf')
-rw-r--r--dist/nginx.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/dist/nginx.conf b/dist/nginx.conf
index 7c429bad4..1a14872b4 100644
--- a/dist/nginx.conf
+++ b/dist/nginx.conf
@@ -43,6 +43,11 @@ server {
   gzip_http_version 1.1;
   gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;
 
+  # uncommenet to enable blocking suspended domains
+  # use the included nginx-blocklist-generator.sh tool to generate the needed
+  # map
+  # if ($block_domains = '1') { return 444; }
+
   add_header Strict-Transport-Security "max-age=31536000";
 
   location / {