worker_processes auto; user www www; events { worker_connections 1024; } http { include mime.types; default_type application/octet-stream; types { text/plain log; } sendfile on; tcp_nopush on; tcp_nodelay on; gzip on; include conf.d/headers.include; server { listen 443 quic reuseport; listen [::]:443 quic reuseport; listen 443 ssl; listen [::]:443 ssl; http2 on; server_name momlaptop.fizz.buzz; include conf.d/tls_settings.include; # RSA ssl_certificate /momlaptop.fizz.buzz/tls.crt; ssl_certificate_key /momlaptop.fizz.buzz/tls.key; # Nginx by default only allows file uploads up to 50M in size client_max_body_size 50M; location / { auth_basic "Stuff"; auth_basic_user_file conf.d/htpasswd; alias /srv/http/; autoindex on; } } }