Configuring phpmyadmin with nginx
Install the php dependencies apt-get install phpmyadmin php5-fpm Modify /etc/nginx/sites-available/default and add the following at the end of the server section location ^~ /phpmyadmin { alias /usr/share/phpmyadmin/; index index.php index.html index.htm; location ~ \.php$ { fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_pass unix:/var/run/php5-fpm.sock; fastcgi_index index.php; include fastcgi_params; } } To restrict access to a certain IP, add the following…