mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-26 19:36:52 +03:00
18 lines
383 B
Nginx Configuration File
18 lines
383 B
Nginx Configuration File
|
server {
|
||
|
listen 80 default_server;
|
||
|
root /app;
|
||
|
access_log /var/log/nginx/rssbridge.access.log;
|
||
|
error_log /var/log/nginx/rssbridge.error.log;
|
||
|
index index.php;
|
||
|
|
||
|
location ~ /(\.|vendor|tests) {
|
||
|
deny all;
|
||
|
return 403; # Forbidden
|
||
|
}
|
||
|
|
||
|
location ~ \.php$ {
|
||
|
include snippets/fastcgi-php.conf;
|
||
|
fastcgi_pass 127.0.0.1:9000;
|
||
|
}
|
||
|
}
|