]> jfr.im git - uguu.git/blobdiff - docker/nginx/uguu.conf
in
[uguu.git] / docker / nginx / uguu.conf
index 9732b6c79ebcc8aa4eed731c4d66e25e949fdf4c..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;
@@ -12,7 +12,7 @@ server{
     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)(.*)$;