rss-bridge/config/nginx.conf

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
451 B
Nginx Configuration File
Raw Normal View History

server {
listen 80 default_server;
2023-03-08 01:59:22 +03:00
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;
}
}