Created
June 8, 2016 19:22
-
-
Save GhazanfarMir/b35270eb07ad702413a374dc4c27a721 to your computer and use it in GitHub Desktop.
PHPMyAdmin with NGINX
This file contains hidden or 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
location /notphpmyadmin { | |
alias /usr/share/phpmyadmin; | |
location ~ \.php$ { | |
fastcgi_index index.php; | |
include fastcgi_params; | |
fastcgi_param SCRIPT_FILENAME $request_filename; | |
fastcgi_split_path_info ^(.+\.php)(/.+)$; | |
fastcgi_pass php; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment