mirror of https://github.com/IoTcat/ushio-etc.git
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.
32 lines
759 B
32 lines
759 B
server { |
|
listen 80; |
|
listen [::]:80; |
|
listen 443 ssl; |
|
|
|
server_name eee.dog; |
|
|
|
ssl_certificate /mnt/config/ssl/eee.dog/eee.dog.crt; #2 |
|
ssl_certificate_key /mnt/config/ssl/eee.dog/eee.dog.key; #3 |
|
|
|
ssl_session_cache shared:SSL:1m; |
|
ssl_session_timeout 5m; |
|
ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4; |
|
ssl_protocols TLSv1 TLSv1.1 TLSv1.2; |
|
ssl_prefer_server_ciphers on; |
|
#error_page 404 = /404.php; |
|
|
|
|
|
|
|
location /b { |
|
alias /home/www/birthday; |
|
index index.html; |
|
} |
|
|
|
location /c/ { |
|
rewrite ^/c/(.*)$ https://chat.yimian.xyz/?id=$1 last; |
|
} |
|
|
|
location / { |
|
rewrite ^(.*)$ https://shorturl.yimian.xyz/s/index.php?s=$1 last; |
|
} |
|
}
|
|
|