nginx-kit/examples/example.com.conf
2026-06-05 14:19:38 +08:00

17 lines
394 B
Text

server {
include kit/listen/http.conf;
include kit/listen/https-http2.conf;
server_name primary.example.com
alias1.example.com
alias2.example.com;
index index.html index.htm;
include snippets/cert/mydomain.com.conf;
include kit/security.conf;
include kit/ssl/security.conf;
include kit/ssl/hsts.conf;
include kit/redirect/to-primary-domain.conf;
include kit/ssl/force.conf;
}