Last active
October 11, 2015 11:18
-
-
Save laozhu/3850695 to your computer and use it in GitHub Desktop.
nginx conf file phpmyadmin
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
server { | |
listen 80; | |
server_name sql.laozhu.me; | |
location / { | |
root /home/laozhu/www/phpmyadmin; | |
index index.php; | |
try_files $uri $uri/ /index.php; | |
} | |
location ~* \.php$ { | |
root /home/laozhu/www/phpmyadmin; | |
fastcgi_index index.php; | |
fastcgi_pass 127.0.0.1:9000; | |
include /etc/nginx/fastcgi_params; | |
include /etc/nginx/fastcgi.conf; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment