Complete nginx access to key https configuration files

Source: Internet
Author: User
Server {listen432ssl; server_namewww.test.com; sslon; ssl_certificateusrlocalnginxsslwww.test.com.crt.pem; encrypt; ssl_protocolsSSLv3TLSv1; ssl_ciphersALL :! EXP :! ADH :! LOW:

Server {listen 432 ssl; server_name www.test.com; ssl on; ssl_certificate/usr/local/nginx/ssl/www.test.com. crt. pem; ssl_certificate_key/usr/local/nginx/ssl/www.test.com. key. pem; ssl_protocols SSLv3 TLSv1; ssl_ciphers ALL :! EXP :! ADH :! LOW:

server {     listen       432 ssl;         server_name  www.test.com;     ssl            on;     ssl_certificate        /usr/local/nginx/ssl/www.test.com.crt.pem;     ssl_certificate_key    /usr/local/nginx/ssl/www.test.com.key.pem;     ssl_protocols        SSLv3 TLSv1;     ssl_ciphers        ALL:!EXP:!ADH:!LOW:!SSLv2:!MD5;     ssl_session_timeout     5m;     ssl_prefer_server_ciphers on;         access_log  /data/logs/SSL_www.test.com_access.log;         error_log  /data/logs/SSL_www.test.com_error.log;         root /www/test/ssl/web;         index  index.php index.html index.htm;         if ($uri !~ ^.*(\.xml|\.html|\.htm|index\.php|soap\.php|php\.php|health\.php|status|\.swf|\.css|\.js|\.gif|\.png|\.jpg|\.jpeg|\.ico)){                 rewrite ^/(.*)$ /index.php?$1 last;         }         location ~ \.php$ {             fastcgi_pass   127.0.0.1:9000;             fastcgi_index  index.php;             include        fcgi.conf;             fastcgi_param  HTTPS on;         } } 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.