Created
July 29, 2014 13:29
-
-
Save sumhat/4294e98bf17d69690450 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ^/(.*\.php(/.*)?)$:将所有.php结尾的URL都交给PHP-FPM处理 | |
# 127.0.0.1:9000:PHP-FPM的服务端 | |
# /var/www/html/$1:网站源文件所在路径 | |
ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9000/var/www/html/$1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment