aboutsummaryrefslogtreecommitdiff
path: root/config/nginx.conf
blob: 42af62cf1fd182d94207fcde48a8856baa80b8f1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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;
    }
}