server{
listen 80;
- server_name 192.168.240.9;
+ server_name XXX;
#ssl on;
#ssl_certificate /etc/nginx/ssl/fullchain.pem;
#ssl_certificate_key /etc/nginx/ssl/privkey.pem;
root /var/www/uguu/dist/public/;
autoindex on;
access_log on;
- index index.html index.php;
+ index index.html;
location ~* \.(css|js|jpg|jpeg|gif|png|ico|xml|eot|woff|woff2|ttf|svg|otf|x-icon|avif|webp|apng)$ {
expires 30d;
gzip_types text/css text/js text/javascript application/javascript application/x-javascript;
location ~* \.php$ {
- fastcgi_pass unix:/var/run/php/php8.0-fpm.sock;
+ fastcgi_pass unix:/var/run/php/php8.1-fpm.sock;
fastcgi_intercept_errors on;
fastcgi_index index.php;
fastcgi_split_path_info ^(.+\.php)(.*)$;