blob: c65f8e001c560a174155871f9eb1624805e2c497 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
server {
listen 80 default_server;
listen [::]:80 default_server;
root /app;
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;
index index.php;
location ~ /(\.|vendor|tests) {
deny all;
return 403; # Forbidden
}
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_read_timeout 45s;
fastcgi_pass unix:/var/run/php/php8.2-fpm.sock;
}
}
|