server { listen 8084 default_server; root /var/www/html-quartz; index index.html index.htm; server_name _; location / { try_files $uri $uri/ =404; } } server { # touch /etc/nginx/include/quartz.phares.duckdns.org # openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/include/quartz.phares.duckdns.org.key -out /etc/nginx/include/quartz.phares.duckdns.org.crt -config /etc/nginx/include/quartz.phares.duckdns.org ssl_certificate /home/podman/wild-phares/fullchain.cer; # ssl_certificate /home/podman/wild-phares/phares.duckdns.org.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; } }