1server {
2 listen 80;
3 server_name firefly.lan;
4 root /var/www/firefly3/public;
5
6 location ~ \.php$ {
7 try_files $uri $uri/ =404;
8 fastcgi_split_path_info ^(.+\.php)(/.+)$;
9 fastcgi_pass unix:/run/php-fpm8/fpm.sock;
10 include fastcgi.conf;
11 }
12
13 location / {
14 try_files $uri /index.php$is_args$args;
15 }
16}