初始化提交

This commit is contained in:
2025-10-07 15:58:15 +08:00
commit 0e593caf99
378 changed files with 77890 additions and 0 deletions

View File

@@ -0,0 +1,47 @@
server {
#SSL 默认访问端口号为 443
listen 443 ssl;
#请填写绑定证书的域名
server_name testcreator.deeplink.media;
#请填写证书文件的相对路径或绝对路径
ssl_certificate /data/tengine/conf/certificate/deeplink.media_bundle.crt;
#请填写私钥文件的相对路径或绝对路径
ssl_certificate_key /data/tengine/conf/certificate/deeplink.media.key;
ssl_session_timeout 5m;
#请按照以下套件配置,配置加密套件,写法遵循 openssl 标准。
ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4;
#请按照以下协议配置
ssl_protocols TLSv1.2 TLSv1.3;
ssl_prefer_server_ciphers on;
location / {
#网站主页路径。此路径仅供参考,具体请您按照实际目录操作。
#例如,您的网站主页在 Nginx 服务器的 /etc/www 目录下,则请修改 root 后面的 html 为 /etc/www。
root /data/tengine/html/fly_moon_merchant_saas/dist;
index index.html index.htm;
}
location ^~ /prod-api {
client_max_body_size 100m;
proxy_pass http://127.0.0.1:8071;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
location ^~ /test-api {
client_max_body_size 100m;
proxy_pass http://127.0.0.1:8071;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}
server {
listen 80;
#请填写绑定证书的域名
server_name testcreator.deeplink.media;
#把http的域名请求转成https
return 301 https://$host$request_uri;
}