mirror of https://github.com/IoTcat/ushio-etc.git
parent
df1e70c691
commit
3cea1adff8
2 changed files with 11 additions and 23 deletions
@ -1,20 +1,20 @@ |
||||
server { |
||||
listen 80; |
||||
#listen [::]:80; |
||||
server_name v-china2.yimian.xyz; |
||||
server_name v-china-tunnel.yimian.xyz; |
||||
rewrite ^(.*)$ https://$host$1 permanent; |
||||
} |
||||
|
||||
server { |
||||
#listen 80; |
||||
listen 443 ssl; |
||||
server_name v-china2.yimian.xyz; |
||||
server_name v-china-tunnel.yimian.xyz; |
||||
|
||||
ssl_certificate /mnt/config/ssl/yimian.xyz/yimian.xyz.crt; |
||||
ssl_certificate_key /mnt/config/ssl/yimian.xyz/yimian.xyz.key; |
||||
|
||||
location / { |
||||
proxy_pass http://v-china2:10808/; |
||||
proxy_pass http://v-china:81/; |
||||
proxy_read_timeout 300s; |
||||
proxy_send_timeout 300s; |
||||
proxy_set_header Host $host; |
Loading…
Reference in new issue