From 9c965defdbe461a50246071fb07e7ed59dbdf512 Mon Sep 17 00:00:00 2001 From: Fijxu Date: Mon, 9 Jan 2023 19:10:20 -0300 Subject: [PATCH] Reformat and ass more options and shit lol --- nginx/nginx.conf | 6 ++++-- nginx/sites-available/i.zzls.xyz.conf | 7 ------- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 3a07e15..2a042d5 100755 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -22,6 +22,9 @@ http { types_hash_max_size 4096; types_hash_bucket_size 64; + # Virtual Host Configs + include /etc/nginx/sites-enabled/*.conf; + # MIME include mime.types; default_type application/octet-stream; @@ -38,13 +41,12 @@ http { # Diffie-Hellman parameter for DHE ciphersuites ssl_dhparam /etc/nginx/dhparam.pem; - # HTTP2 Settings http2_max_field_size 64k; http2_max_header_size 512k; # Virtual Host Configs - include /etc/nginx/sites-enabled/*; + include /etc/nginx/sites-enabled/*.conf; # DDOS Protection limit_conn_zone $binary_remote_addr zone=perip:10m; diff --git a/nginx/sites-available/i.zzls.xyz.conf b/nginx/sites-available/i.zzls.xyz.conf index 3a22fe6..d56b50e 100755 --- a/nginx/sites-available/i.zzls.xyz.conf +++ b/nginx/sites-available/i.zzls.xyz.conf @@ -10,13 +10,6 @@ server { rewrite ^/(.*)$ https://i.ayaya.beauty/$1 redirect; } - #location /upload { - # client_max_body_size 2048M; - # auth_basic "Restricted Content"; - # auth_basic_user_file /etc/fileupload.htpasswd; - # proxy_pass http://127.0.0.1:40002; - # } - listen 443 ssl http2; # managed by Certbot ssl_certificate /etc/letsencrypt/live/i.zzls.xyz/fullchain.pem; # managed by Certbot ssl_certificate_key /etc/letsencrypt/live/i.zzls.xyz/privkey.pem; # managed by Certbot