aboutsummaryrefslogtreecommitdiff
path: root/apks/firefly3/firefly.nginx.conf
blob: a95ebb13dabd1340da551fc4888e36fd07ae2a25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
server {
    listen 80;
    server_name firefly.lan;
    root /var/www/firefly3/public;

    location ~ \.php$ {
        try_files $uri $uri/ =404;
        fastcgi_split_path_info ^(.+\.php)(/.+)$;
        fastcgi_pass unix:/run/php-fpm8/fpm.sock;
        include fastcgi.conf;
    }

    location / {
      try_files $uri /index.php$is_args$args;
    }
}