This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
2021-09-01 16:55:13 +08:00

28 lines
613 B
Plaintext

---
---
server {
listen 80;
server_name *.{{ site.domain }};
return 302 https://$host$request_uri;
}
server {
listen 443;
include {{ site.serving-path }}/nginx-includes/tls-defaults.conf;
include {{ site.serving-path }}/fallback-common.conf;
}
server {
listen 1010; # TLS 1.0, which supports SNI
include {{ site.serving-path }}/nginx-includes/tls-v1-0.conf;
include {{ site.serving-path }}/fallback-common.conf;
}
server {
listen 1011; # TLS 1.1, which supports SNI
include {{ site.serving-path }}/nginx-includes/tls-v1-1.conf;
include {{ site.serving-path }}/fallback-common.conf;
}