16 lines
334 B
Plaintext
16 lines
334 B
Plaintext
server {
|
|
listen [::]:{{HTTPS_PORT}} ssl http2;
|
|
listen 0.0.0.0:{{HTTPS_PORT}} ssl http2;
|
|
server_name {{DOMAIN}};
|
|
root {{HT_PATH}}/{{USERNAME}}/ht/{{DIR}};
|
|
|
|
ssl_certificate /etc/ssl/certs/niver.crt;
|
|
ssl_certificate_key /etc/ssl/private/niver.key;
|
|
|
|
include inc/tls.conf;
|
|
|
|
location / {
|
|
try_files $uri $uri.html $uri/ =404;
|
|
}
|
|
}
|