6 # ssl_certificate /path/to/fullchain.pem;
7 # ssl_certificate_key /path/to/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)$ {
22 alias /var/www/files/;
23 index index.html index.htm;
34 gzip_types text/css text/js text/javascript application/javascript application/x-javascript;
37 fastcgi_pass unix:/var/run/php/php8.0-fpm.sock;
38 fastcgi_intercept_errors on;
39 fastcgi_index index.php;
40 fastcgi_split_path_info ^(.+\.php)(.*)$;
41 include fastcgi_params;
42 fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;