添加 examples/example.com.conf
This commit is contained in:
parent
5cec4835d4
commit
d97bb5c8ff
1 changed files with 17 additions and 0 deletions
17
examples/example.com.conf
Normal file
17
examples/example.com.conf
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
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 kit/redirect/to-primary-domain.conf;
|
||||
include kit/ssl/force.conf;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue