From 781e78e495f977c8d15bf9baeaca67408d28edda Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sat, 4 Oct 2014 10:47:48 +0200 Subject: phpMyAdmin: provide nginx configuration (F21+) --- phpMyAdmin.nginx | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 phpMyAdmin.nginx (limited to 'phpMyAdmin.nginx') diff --git a/phpMyAdmin.nginx b/phpMyAdmin.nginx new file mode 100644 index 0000000..e10fed3 --- /dev/null +++ b/phpMyAdmin.nginx @@ -0,0 +1,19 @@ +# phpMyAdmin + +location = /phpMyAdmin { + alias /usr/share/phpMyAdmin/; +} + +location /phpMyAdmin/ { + root /usr/share; + index index.php index.html; + + location ~ ^/phpMyAdmin/(.+\.php)$ + { + try_files $uri =404; + fastcgi_intercept_errors on; + include fastcgi_params; + fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; + fastcgi_pass php-fpm; + } +} -- cgit