国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學院 > 操作系統 > 正文

nginx 安裝ssl證書

2024-06-28 16:04:36
字體:
來源:轉載
供稿:網友
server{ listen 80; server_name www.jxcat.com; rewrite ^/(.*)$ https://www.jxcat.com/$1 permanent;}server {    listen   443 ;    server_name  www.jxcat.com jxcat.com;    if ( $host != 'www.jxcat.com' ) {       rewrite ^/(.*)$ https://www.jxcat.com/$1 permanent;    }    ssl on;    ssl_certificate      /etc/nginx/cert/214015481040174.pem;    ssl_certificate_key  /etc/nginx/cert/214015481040174.key;    ssl_session_timeout  5m;    ssl_PRefer_server_ciphers   on;    include ecshop.conf;    #charset koi8-r;    #access_log  /var/log/nginx/log/host.access.log  main;    location / {        root   /ecmoban/www;        index  index.php index.html index.htm;    }    #error_page  404              /404.html;    # redirect server error pages to the static page /50x.html    #    error_page   500 502 503 504  /50x.html;    location = /50x.html {        root   /usr/share/nginx/html;    }    # proxy the PHP scripts to Apache listening on 127.0.0.1:80    #    #location ~ /.php$ {    #    proxy_pass   http://127.0.0.1;    #}    # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000    #    location ~ /.php$ {        root           /ecmoban/www;        fastcgi_pass   127.0.0.1:9000;        fastcgi_index  index.php;        fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;        include        fastcgi_params;    }    # deny access to .htaccess files, if Apache's document root    # concurs with nginx's one    #    #location ~ //.ht {    #    deny  all;    #}}
上一篇:nginx + uwsgi + django部署

下一篇:awk總結

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 民权县| 定安县| 南充市| 湟中县| 海宁市| 五莲县| 康乐县| 全州县| 图木舒克市| 新邵县| 青海省| 额敏县| 鄂州市| 大埔县| 惠水县| 芒康县| 吉安市| 张北县| 泽库县| 鄱阳县| 敦化市| 大名县| 亳州市| 吴忠市| 黑龙江省| 灵山县| 阿坝县| 河西区| 伊川县| 连江县| 安国市| 延吉市| 温泉县| 稻城县| 长汀县| 体育| 邵武市| 石首市| 云林县| 山阳县| 白山市|