Reformat and ass more options and shit lol

This commit is contained in:
Fijxu 2023-01-09 19:10:20 -03:00
parent 51373aeca1
commit 9c965defdb
2 changed files with 4 additions and 9 deletions

View file

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

View file

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