4 server_name 192.168.240.9;
6 #ssl_certificate /etc/nginx/ssl/fullchain.pem;
7 #ssl_certificate_key /etc/nginx/ssl/privkey.pem;
8 #ssl_protocols TLSv1.2 TLSv1.3;
9 #ssl_ciphers 'EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH';
10 #ssl_ecdh_curve secp384r1;
12 root /var/www/uguu/dist/;
15 index index.html index.php;
17 location ~* \.(css|js|jpg|jpeg|gif|png|ico|xml|eot|woff|woff2|ttf|svg|otf|x-icon|avif|webp|apng)$ {
21 client_max_body_size 128M;
26 gzip_types text/css text/js text/javascript application/javascript application/x-javascript;
29 fastcgi_pass unix:/var/run/php/php8.0-fpm.sock;
30 fastcgi_intercept_errors on;
31 fastcgi_index index.php;
32 fastcgi_split_path_info ^(.+\.php)(.*)$;
33 include fastcgi_params;
34 fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;