mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-10-16 00:56:08 +02:00
22 lines
496 B
Nginx Configuration File
22 lines
496 B
Nginx Configuration File
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;
|
|
|
|
server_tokens off; # Hide nginx version
|
|
|
|
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;
|
|
}
|
|
}
|