Created
December 8, 2014 04:21
-
-
Save vutranvn/2b5aa9018d126846c541 to your computer and use it in GitHub Desktop.
Config 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
# | |
# PHPMyAdmin | |
# | |
server { | |
listen 2407; | |
server_name 128.199.252.210; | |
access_log /var/www/logs/phpmyadmin.access.log main; | |
location / { | |
root /usr/share/phpmyadmin/; | |
index index.html index.htm index.php; | |
} | |
location ~ \.php$ { | |
root /usr/share/phpmyadmin/; | |
fastcgi_pass 127.0.0.1:9000; | |
fastcgi_index index.php; | |
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; | |
include fastcgi_params; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment