Browse Source

fix bug

main
xiaoz 1 year ago
parent
commit
481baf3ce5
  1. 3
      nginx/conf/nginx.conf

3
nginx/conf/nginx.conf

@ -108,12 +108,11 @@ http {
index index.php index.html index.htm; index index.php index.html index.htm;
# PHP 配置 # PHP 配置
location ~ \.php$ { location ~ /phpmyadmin/.+\.php$ {
include fastcgi_params; include fastcgi_params;
fastcgi_pass 127.0.0.1:9074; fastcgi_pass 127.0.0.1:9074;
fastcgi_index index.php; fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /var/www/html/phpMyAdmin$fastcgi_script_name; fastcgi_param SCRIPT_FILENAME /var/www/html/phpMyAdmin$fastcgi_script_name;
# try_files $uri =404;
} }
} }

Loading…
Cancel
Save