diff --git a/common/website.conf b/common/website.conf index ffab337..684c563 100644 --- a/common/website.conf +++ b/common/website.conf @@ -11,15 +11,6 @@ gzip_comp_level 6; gzip_buffers 16 8k; gzip_http_version 1.1; gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript; - -# Brotli Settings -brotli on; -brotli_comp_level 4; -brotli_buffers 32 8k; -brotli_min_length 100; -brotli_static on; -brotli_types image/jpeg image/bmp image/svg+xml text/plain text/css application/json application/javascript application/x-javascript text/xml application/xml application/xml+rss text/javascript image/x-icon; - location / { # rewrite ^(/.*)\.html(\?.*)?$ $1$2 permanent; # rewrite ^/(.*)/$ /$1 permanent; diff --git a/sites-available/0x0.conf b/sites-available/0x0.conf index 8442fbd..a9d1056 100644 --- a/sites-available/0x0.conf +++ b/sites-available/0x0.conf @@ -16,17 +16,6 @@ server { include common/0x0.conf; } -server { - listen 80; - listen [::]:80; - server_name 0.vern.cc vern0.me; - - location / { - return 301 https://$host$request_uri; - } -} - - server { listen 443 ssl http2; listen [::]:443 ssl http2;