0x0 dont force ssl, brotli no work

This commit is contained in:
root 2022-09-30 09:12:53 -04:00
parent 473f2ff1bd
commit 3fcf63c81a
2 changed files with 0 additions and 20 deletions

View File

@ -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;

View File

@ -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;