index index.php index.html;
location / {
# try_files $uri $uri/ =404;
try_files $uri $uri/ /index.php?$args; # 处理美化链接
}
# pass PHP scripts to FastCGI server
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/run/php/php8.3-fpm.sock;
# fastcgi_pass 127.0.0.1:9000;
}