times_new_nginx/docker_image_configs/static.conf.tmpl

20 lines
476 B
Cheetah
Raw Normal View History

2024-10-03 21:48:45 +03:00
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;
}
}