You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
457 B
19 lines
457 B
5 years ago
|
server {
|
||
|
listen 80;
|
||
|
#listen [::]:80;
|
||
|
server_name mikutap.yimian.xyz;
|
||
|
rewrite ^(.*)$ https://$host$1 permanent;
|
||
|
}
|
||
|
|
||
|
server {
|
||
|
#listen 80;
|
||
|
listen 443 ssl;
|
||
|
server_name mikutap.yimian.xyz;
|
||
|
root /home/yimian/www/mikutap;
|
||
|
index index.html;
|
||
|
|
||
|
ssl_certificate /home/yimian/ssl/star.yimian.xyz.ssl/star.yimian.xyz.crt;
|
||
|
ssl_certificate_key /home/yimian/ssl/star.yimian.xyz.ssl/star.yimian.xyz.key;
|
||
|
|
||
|
}
|