Blank Page after deploy to server

I have an app which runs fine on localhost:4200.

After ember build --environment=production with this in environment.js

if (environment === 'production') {
    // here you can enable a production-specific feature
    ENV.rootURL = '/';
 }

and copying the contents in /dist over to the web root (/var/www/html) of my nginx server I and trying to call that page all I get is a blank page. When I open devtools I can see that the app loaded, javascript is enabled. I tried the same thing with a bare bone app (only an H1 to check if the index page would come up), same result: blank page. If I overwrite the the content of index.html in web root manually to a simple “hello world” the page is shown, so access from outside etc is all fine.

Can anyone help me with that?

Thanks

At what url are you accesing the application?

If it is something like ipadress:80/html, you need to add html to your rootUrl