Created
November 6, 2016 07:52
-
-
Save jesgeerts/81fad880bbb4d7fb5dac006ee8c6dbc9 to your computer and use it in GitHub Desktop.
this version is for php7.0-fpm users 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
| server { | |
| listen 80; | |
| listen [::]80; | |
| server_name YOURPHPMYADMIN.example.com; | |
| index index.php | |
| root /usr/share/phpmyadmin; | |
| location ~ \.php$ { | |
| fastcgi_pass unix:/var/run/php/php7.0-fpm.sock; | |
| include fastcgi_params; | |
| } | |
| location /setup { | |
| return 404; | |
| deny all; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment