Selfoss install/config

Has anyone been successful with installing selfoss? I can’t get the nginx configuration correctly. I’m using the custom webapp. And I’m attempting to implement the configuration changes mentioned here.

My config is as follows:

location /selfoss {
alias /var/www/webapp_matt/selfoss/ ;
if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent;
index index.html index.php ;
try_files $uri/ /public/$uri /index.php$is_args$args;
location ~ [^/].php(/|$) {
fastcgi_split_path_info ^(.+?.php)(/.*)$;
fastcgi_pass unix:/var/run/php5-fpm-webapp_selfoss.sock;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param REMOTE_USER $remote_user;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param SCRIPT_FILENAME $request_filename;

Include SSOWAT user panel.

include conf.d/;

But navigating to $domain/selfoss re-directs me to the yunohost application page because a /selfoss hit somehow gives a 302 redirect.

Apologize is this is not the right location for this question.