]> jfr.im git - uguu.git/blobdiff - docker/nginx/uguu.conf
in
[uguu.git] / docker / nginx / uguu.conf
index 141d5c7fdfec3c18b81f013627775d653c91ad06..af136723df8a649a2399a9e7bec860eba69bf64d 100644 (file)
@@ -1,7 +1,7 @@
 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;
@@ -9,10 +9,10 @@ server{
     #ssl_ciphers 'EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH';
     #ssl_ecdh_curve secp384r1;
 
-    root /var/www/uguu/dist/;
+    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;
@@ -26,7 +26,7 @@ server{
     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)(.*)$;