upstream notify {
server well-notify:8010;
}
server {
listen 80;
listen [::]:80;
listen 443 ssl;
listen [::]:443 ssl;
server_name notify.zxk175.com;
ssl_certificate /opt/openresty/cert/notify.pem;
ssl_certificate_key /opt/openresty/cert/notify.key;
ssl_session_timeout 5m;
ssl_session_cache shared:SSL:50m;
ssl_ciphers "ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4:!DH:!DHE";
ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3;
ssl_stapling on;
ssl_stapling_verify on;
ssl_prefer_server_ciphers on;
resolver 8.8.4.4 8.8.8.8 valid=300s;
resolver_timeout 10s;
location / {
proxy_pass http://notify;
include /opt/openresty/conf/common/proxy.conf;
index index.jsp index.htm index.html;
}
error_page 404 /404.html;
error_page 500 502 503 504 /50x.html;
}
server {
listen 80;
listen [::]:80;
listen 443 ssl;
listen [::]:443 ssl;
server_name well.zxk175.com;
ssl_certificate /opt/openresty/cert/well.pem;
ssl_certificate_key /opt/openresty/cert/well.key;
ssl_session_timeout 5m;
ssl_session_cache shared:SSL:50m;
ssl_ciphers "ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4:!DH:!DHE";
ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3;
ssl_stapling on;
ssl_stapling_verify on;
ssl_prefer_server_ciphers on;
resolver 8.8.4.4 8.8.8.8 valid=300s;
resolver_timeout 10s;
location / {
proxy_pass https://notify.zxk175.com/;
proxy_set_header Host notify.zxk175.com;
include /opt/openresty/conf/common/proxy-site.conf;
}
error_page 404 /404.html;
error_page 500 502 503 504 /50x.html;
}
server {
listen 80;
listen [::]:80;
server_name bd.zxk175.com;
location / {
proxy_pass https://www.baidu.com/;
proxy_set_header Host www.baidu.com;
include /opt/openresty/conf/common/proxy-site.conf;
}
error_page 404 /404.html;
error_page 500 502 503 504 /50x.html;
}
notify.conf
最后編輯于 :
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。
相關(guān)閱讀更多精彩內(nèi)容
- 狗日的,之前遇到過這個(gè)問題.貌似之前是重啟了很多次電腦還是這樣,后面也有百度過,也是下面的這種方法。但是今天忘記了...
- // // named.conf // // Provided by Red Hat bind package t...
- 目錄 第一節(jié) - 驗(yàn)證概述 第二節(jié) - 設(shè)置基本的驗(yàn)證 第三節(jié) - 即將到來的驗(yàn)證功能 第一節(jié) - 驗(yàn)證概述 同步...
- Object.keys(baseWebpackConfig.entry).forEach(function (na...