root /usr/share/arsse/www;

location @arsse {
    # HTTP authentication may be enabled for this location, though this may impact some features
    fastcgi_pass unix:/var/run/php/arsse.sock;
    fastcgi_param SCRIPT_FILENAME /usr/share/arsse/arsse.php;
    include /etc/arsse/nginx/arsse-fcgi.conf;
}

location @arsse_public {
    # HTTP authentication should not be enabled for this location
    fastcgi_pass unix:/var/run/php/arsse.sock;
    fastcgi_param SCRIPT_FILENAME /usr/share/arsse/arsse.php;
    include /etc/arsse/nginx/arsse-fcgi.conf;
}

include /etc/arsse/nginx/arsse-loc.conf;