Browse Source

fix bug

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

13
nginx/conf/nginx.conf

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

Loading…
Cancel
Save