[Discussion] Xibo on Manual install with Nginx

Hi guys,

I have a semi-working setup with nginx, and will be using this post to post finding and configs that works for me :slight_smile:

current state:
Xibo admin page - working
Xibo XMR - working
Xibo ChromeOS - WIP
Integration with Certbot - simple (standard Nginx)

My current nginx config:

        location /api/authorize {
                try_files $uri /api/authorize/index.php?args;
        }

        location /api {
                try_files $uri /api/index.php?$args;
        }

        location /maint {
            try_files $uri /maint/index.php?$args;
        }

        location /maintenance {
            try_files $uri /index.php?$args;
        }

        location /pwa/getResource.*$ {
                try_files $uri /pwa/index.php$args;
        }
        location /pwa/getData.*$ {
                try_files $uri /pwa/index.php$args;
        }
        location /pwa {
                rewrite ^/pwa/(.*)$ /chromeos/$1 last;
        }
        location /chromeos {
                alias <Xibo Install folder>/library/public/playersoftware/chromeos/latest/;
                try_files $uri $uri /chromeos/chromeos/index.html$args;

ChromeOS now displays something which is better then what we had before

For manual installs you need the pgp keys:

So since /pwa serves only chromeos I thought why do we want to re-write then to serve the same thing from /chromeos

modified location /pwa:

location /pwa {
                alias <Xibo install folder>/library/public/playersoftware/chromeos/latest;
                try_files $uri /pwa/pwa/index.html$args;
}