server { root /home/user/web/deerlister; index index.php; server_name deerlister.astylodon.org; location / { try_files $uri $uri/ =404; } location ~ \.php$ { include snippets/fastcgi-php.conf; fastcgi_pass unix:/run/php/php8.3-fpm.sock; } location ~ /(vendor/|config.yaml$) { deny all; } }