1 Star 0 Fork 24

yuange/rpt

forked from iamlinhui/rpt 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
holmes.conf 1.36 KB
一键复制 编辑 原始数据 按行查看 历史
iamlinhui 提交于 2022-06-03 22:06 . u
server {
listen 80;
server_name *.holmes.cn;
rewrite ^(.*)$ https://$host$1 permanent;
}
server {
listen 443 ssl http2;
server_name *.holmes.cn;
root /etc/nginx/html;
index index.php index.html;
ssl_certificate /opt/ssl/fullchain.cer;
ssl_certificate_key /opt/ssl/holmes.cn.key;
#TLS 版本控制
ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3;
ssl_ciphers 'TLS13-AES-256-GCM-SHA384:TLS13-CHACHA20-POLY1305-SHA256:TLS13-AES-128-GCM-SHA256:TLS13-AES-128-CCM-8-SHA256:TLS13-AES-128-CCM-SHA256:EECDH+CHACHA20:EECDH+CHACHA20-draft:EECDH+ECDSA+AES128:EECDH+aRSA+AES128:RSA+AES128:EECDH+ECDSA+AES256:EECDH+aRSA+AES256:RSA+AES256:EECDH+ECDSA+3DES:EECDH+aRSA+3DES:RSA+3DES:!MD5';
ssl_prefer_server_ciphers on;
# 开启 1.3 0-RTT
ssl_early_data on;
ssl_stapling on;
ssl_stapling_verify on;
#add_header Strict-Transport-Security "max-age=31536000";
#access_log /var/log/nginx/access.log combined;
location / {
proxy_redirect off;
proxy_read_timeout 300s;
proxy_pass http://127.0.0.1:6234;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/yuange19960402/rpt.git
git@gitee.com:yuange19960402/rpt.git
yuange19960402
rpt
rpt
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385