parent
8229aab949
commit
0be977eb3d
@ -44,9 +44,8 @@ jobs:
|
|||||||
username: ${{ vars.YUYUN_USER }}
|
username: ${{ vars.YUYUN_USER }}
|
||||||
password: ${{ secrets.SERVER_ROOT_PASSWORD }}
|
password: ${{ secrets.SERVER_ROOT_PASSWORD }}
|
||||||
overwrite: true
|
overwrite: true
|
||||||
strip_components: 1
|
|
||||||
source: "resources/*.css,resources/*.xml"
|
source: "resources/*.css,resources/*.xml"
|
||||||
target: /root/Server/resources
|
target: /root/Server/amass_blog
|
||||||
- name: Copy lvgl to server
|
- name: Copy lvgl to server
|
||||||
uses: appleboy/scp-action@v0.1.7
|
uses: appleboy/scp-action@v0.1.7
|
||||||
with:
|
with:
|
||||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -44,3 +44,4 @@ build
|
|||||||
logs
|
logs
|
||||||
Server/logs
|
Server/logs
|
||||||
Server/conf/cert
|
Server/conf/cert
|
||||||
|
resources/themes/bulma
|
@ -64,10 +64,6 @@ http {
|
|||||||
server 127.0.0.1:7700;
|
server 127.0.0.1:7700;
|
||||||
}
|
}
|
||||||
|
|
||||||
upstream typesense {
|
|
||||||
server 127.0.0.1:8108;
|
|
||||||
}
|
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl;
|
listen 443 ssl;
|
||||||
server_name unraid.amass.fun;
|
server_name unraid.amass.fun;
|
||||||
@ -207,13 +203,13 @@ http {
|
|||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl;
|
listen 443 ssl;
|
||||||
server_name money-mobile.amass.fun;
|
server_name emoney.amass.fun;
|
||||||
|
|
||||||
client_header_timeout 120s;
|
client_header_timeout 120s;
|
||||||
client_body_timeout 120s;
|
client_body_timeout 120s;
|
||||||
|
|
||||||
ssl_certificate cert/money-mobile.amass.fun.pem;
|
ssl_certificate cert/emoney.amass.fun.pem;
|
||||||
ssl_certificate_key cert/money-mobile.amass.fun.key;
|
ssl_certificate_key cert/emoney.amass.fun.key;
|
||||||
ssl_session_timeout 5m; #缓存有效期
|
ssl_session_timeout 5m; #缓存有效期
|
||||||
ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4; #加密算法
|
ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4; #加密算法
|
||||||
ssl_protocols TLSv1 TLSv1.1 TLSv1.2; #安全链接可选的加密协议
|
ssl_protocols TLSv1 TLSv1.1 TLSv1.2; #安全链接可选的加密协议
|
||||||
@ -385,28 +381,6 @@ http {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
|
||||||
listen 443 ssl;
|
|
||||||
server_name typesense.amass.fun;
|
|
||||||
|
|
||||||
client_header_timeout 120s;
|
|
||||||
client_body_timeout 120s;
|
|
||||||
client_max_body_size 512m;
|
|
||||||
|
|
||||||
ssl_certificate cert/typesense.amass.fun.pem;
|
|
||||||
ssl_certificate_key cert/typesense.amass.fun.key;
|
|
||||||
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; #使用服务器端的首选算法
|
|
||||||
|
|
||||||
location / {
|
|
||||||
proxy_set_header X-Forwarded-For $remote_addr;
|
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
|
||||||
proxy_pass http://typesense;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl;
|
listen 443 ssl;
|
||||||
server_name amass.fun;
|
server_name amass.fun;
|
||||||
@ -427,7 +401,7 @@ http {
|
|||||||
listen 80;
|
listen 80;
|
||||||
server_name amass.fun;
|
server_name amass.fun;
|
||||||
location /resources {
|
location /resources {
|
||||||
root .;
|
root amass_blog;
|
||||||
}
|
}
|
||||||
location /speedtest {
|
location /speedtest {
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
@ -454,7 +428,7 @@ http {
|
|||||||
listen 80;
|
listen 80;
|
||||||
server_name mirror.amass.fun;
|
server_name mirror.amass.fun;
|
||||||
location /resources {
|
location /resources {
|
||||||
root .;
|
root amass_blog;
|
||||||
}
|
}
|
||||||
location /speedtest {
|
location /speedtest {
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
@ -128,11 +128,6 @@ location /backend {
|
|||||||
proxy_pass http://speed_test;
|
proxy_pass http://speed_test;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /resources {
|
|
||||||
root .;
|
|
||||||
index index.html index.htm;
|
|
||||||
}
|
|
||||||
|
|
||||||
location /Younger/ChatRoom {
|
location /Younger/ChatRoom {
|
||||||
|
|
||||||
proxy_pass http://local;
|
proxy_pass http://local;
|
||||||
|
Loading…
Reference in New Issue
Block a user