RHEL 5.4 + nginx + mediawiki

Source: Internet
Author: User
Tags mediawiki
# Virtual wiki.atyu30.com # author atyu30 # Date: 2011/08/31 # uname-r-m-o #2.6.18-194. EL5 x86_64 GNU/Linux # nginx-V # nginx: nginx version: nginx/1.1.1 # Change 2011/09/02 # MediaWiki-1.17.0 PHP-FPM nginx sphinxserver {Listen 443; # Listen 80; SERVER_NAME wiki.atyu30.com; charset UTF-8; fastcgi_paramhttps $ fastcgi_https; Location/{root/var/www/mediawiki-1.16.4; Index. PHP index.html index.htm; # Set The requested nonexistent file is overwritten to index. php try_files $ URI // index. php; If (! -F $ request_filename) {rewrite ^/([^?] *)(? :\? (.*))? /Index. php? Title = $1 & $2 last; rewrite (. *)/index. php ;}} location ~ \. PHP $ {root/var/www/mediawiki-1.16.4; fastcgi_pass 127.0.0.1: 9000; fastcgi_index index. PHP; fastcgi_intercept_errors on; fastcgi_param script_filename $ document_root $ fastcgi_script_name; Include fastcgi_params; authorization;} SSL on; ssl_certificate/etc/pki/tls/certs/server. CRT; ssl_certificate_key/etc/pki/tls/private/server. key; ssl_session_timeout 5 m; ssl_protocols SSLv2 SSLv3 t Lsv1; ssl_ciphers all :! ADH :! Export56: RC4 + RSA: + high: + medium: + low: + SSLv2: + exp; ssl_prefer_server_ciphers on;} map $ scheme $ fastcgi_https {default off; 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.