server { listen 8084 default_server; root /var/www/html-quartz; index index.html index.htm; server_name _; location / { try_files $uri $uri/ =404; } } server { ssl_certificate /home/podman/wild-phares/fullchain.cer; ssl_certificate_key /home/podman/wild-phares/phares.duckdns.org.key; ssl_protocols TLSv1.2 TLSv1.3; listen 443 ssl http2; server_name quartz.phares.duckdns.org; root /var/www/html-quartz; index index.html index.htm; location / { try_files $uri $uri.html $uri/ =404; auth_basic "auth_basic"; auth_basic_user_file /etc/nginx/.htpasswd; } }