19 lines
345 B
Text
19 lines
345 B
Text
server {
|
|
listen 80;
|
|
listen [::]:80;
|
|
listen 443 ssl;
|
|
listen [::]:443 ssl;
|
|
|
|
http2 on;
|
|
|
|
server_name primary.example.com
|
|
alias1.example.com
|
|
alias2.example.com;
|
|
|
|
index index.html index.htm;
|
|
|
|
include snippets/cert/mydomain.com.conf;
|
|
include kit/ssl/hsts.conf;
|
|
include kit/redirect/to-primary-domain.conf;
|
|
include kit/ssl/force.conf;
|
|
}
|