Created
July 10, 2018 17:04
-
-
Save masiur/fa8744bd14f0e9b41e17f03edfed17e1 to your computer and use it in GitHub Desktop.
phpmyadmin nginx configuration
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 50; | |
| listen 9999; | |
| listen [::]:50; | |
| listen [::]:9999; | |
| root /usr/share/phpmyadmin/; | |
| index index.php index.html index.htm index.nginx-debian.html; | |
| location / { | |
| try_files $uri $uri/ /index.php?$query_string; | |
| } | |
| location ~ \.php$ { | |
| include snippets/fastcgi-php.conf; | |
| fastcgi_pass unix:/run/php/php7.2-fpm.sock; | |
| } | |
| location ~ /\.ht { | |
| deny all; | |
| } | |
| } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment