Browse Source

fix bug

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

13
nginx/conf/nginx.conf

@ -108,13 +108,12 @@ 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; }
}
} }
#error_page 404 /404.html; #error_page 404 /404.html;

Loading…
Cancel
Save