feat: publish workphone SDK deployment and API docs
This commit is contained in:
36
sdk/deploy/baota/wpsdk.quwanzhi.com.conf
Normal file
36
sdk/deploy/baota/wpsdk.quwanzhi.com.conf
Normal file
@@ -0,0 +1,36 @@
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
server_name wpsdk.quwanzhi.com;
|
||||
location /.well-known/acme-challenge/ { root /www/wwwroot/java_node_ssl; }
|
||||
location / { return 301 https://$host$request_uri; }
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
server_name wpsdk.quwanzhi.com;
|
||||
|
||||
ssl_certificate /www/server/panel/vhost/cert/wpsdk.quwanzhi.com/fullchain.pem;
|
||||
ssl_certificate_key /www/server/panel/vhost/cert/wpsdk.quwanzhi.com/privkey.pem;
|
||||
ssl_protocols TLSv1.2 TLSv1.3;
|
||||
|
||||
client_max_body_size 50m;
|
||||
proxy_connect_timeout 15s;
|
||||
proxy_send_timeout 300s;
|
||||
proxy_read_timeout 3600s;
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:8899;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
}
|
||||
|
||||
access_log /www/wwwlogs/wpsdk.quwanzhi.com.log;
|
||||
error_log /www/wwwlogs/wpsdk.quwanzhi.com.error.log;
|
||||
}
|
||||
Reference in New Issue
Block a user