[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;
}

Hello,
I have the issue now. Could, you please clarify little bit more how? When i installed on Ubuntu 22.0.4 there was a missing part in installation see down here: GNUPG checkGnu is used to verify the integrity of Player Software versions uploaded to the CMS .

Now when i try to add ChromeOS version it fails like you had. Cloud you or someone give me advise here?

Thanks in advanc e

// Sadegh

I’m still tinkering with nginx to see if I can get the right config, but for now still broken :frowning: