mirror of
https://github.com/myvesta/vesta.git
synced 2024-11-21 13:00:11 -08:00
d9a68455a8
Update names Fix pcre url Please not configs are not tested Revert changes
19 lines
481 B
PHP
19 lines
481 B
PHP
location /phpmyadmin {
|
|
alias /usr/share/phpmyadmin;
|
|
|
|
location ~ /(libraries|setup) {
|
|
return 404;
|
|
}
|
|
|
|
location ~ ^/phpmyadmin/(.*\.php)$ {
|
|
alias /usr/share/phpmyadmin/$1;
|
|
fastcgi_pass 127.0.0.1:9000;
|
|
fastcgi_index index.php;
|
|
include fastcgi_params;
|
|
fastcgi_param SCRIPT_FILENAME $request_filename;
|
|
}
|
|
location ~* ^/phpmyadmin/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ {
|
|
root /usr/share/;
|
|
}
|
|
}
|