20 lines
476 B
Cheetah
20 lines
476 B
Cheetah
|
server {
|
||
|
listen 443 ssl;
|
||
|
listen [::]:443 ssl;
|
||
|
http2 on;
|
||
|
|
||
|
server_name _;
|
||
|
|
||
|
ssl_certificate /etc/nginx/ssl/cert.pem;
|
||
|
ssl_certificate_key /etc/nginx/ssl/key.pem;
|
||
|
ssl_protocols TLSv1.2 TLSv1.3;
|
||
|
ssl_ciphers HIGH:!aNULL:!MD5;
|
||
|
ssl_prefer_server_ciphers on;
|
||
|
include configuration/_includes.conf;
|
||
|
|
||
|
location / {
|
||
|
root /var/www/html/;
|
||
|
index index.html;
|
||
|
try_files $uri $uri/ =404;
|
||
|
}
|
||
|
}
|