23 lines
695 B
Plaintext
23 lines
695 B
Plaintext
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.affirm.duckdns.org
|
|
ssl_certificate /root/.acme.sh/wild-affirm/fullchain.cer;
|
|
# ssl_certificate /root/.acme.sh/wild-affirm/affirm.duckdns.org.cer;
|
|
ssl_certificate_key /root/.acme.sh/wild-affirm/affirm.duckdns.org.key;
|
|
ssl_protocols TLSv1.2 TLSv1.3;
|
|
listen 443 ssl http2;
|
|
server_name quartz.affirm.duckdns.org;
|
|
root /var/www/html-quartz;
|
|
index index.html index.htm index.nginx-debian.html;
|
|
location / {
|
|
try_files $uri $uri.html $uri/ =404;
|
|
}
|
|
} |