# Ghost Admin is a blank page with missing css and js but /blog is working

**URL:** <https://forum.ghost.org/t/ghost-admin-is-a-blank-page-with-missing-css-and-js-but-blog-is-working/3938>\
**Category:** Developer help\
**Created:** [November 8, 2018, 12:12am UTC](https://forum.ghost.org/t/ghost-admin-is-a-blank-page-with-missing-css-and-js-but-blog-is-working/3938 "2018-11-08T00:12:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![fillipvt](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/fillipvt/32/1882_2.png) [@fillipvt](https://forum.ghost.org/u/fillipvt)\
**Post date:** [November 8, 2018, 12:12am UTC](https://forum.ghost.org/t/ghost-admin-is-a-blank-page-with-missing-css-and-js-but-blog-is-working/3938/1 "2018-11-08T00:12:07Z")

</div>

I can’t access my ghost admin panel, not sure why. Last week I could do it and I’ve only modified a bit the NGINX, which after this happened I immediately undid, but to no avail.

In the end when I try to enter to `example.com/blog/ghost` the following error shown at the bottom appears.

- What version of Ghost are you using?

- What configuration?  
My stack is, `NGINX` server, and `Next.js` for the front-end + backend with `Node.js`

- What browser?

Chrome

- What errors or information do you see in the console?

- What steps could someone else take to reproduce the issue you’re having?

Not sure really. Everything was working perfectly yesterday. Today I just for another reason decided to do `ghost restart` after adding the following to the NGINX config:

```
rewrite ^(.*[^/])$ $1/ permanent;

```

After I found that I couldn’t access the ghost admin panel I undid that line and did the `ghost restart` and that’s where this odyssey started.

Note: the /budget/ route is pointing to an external server. Not sure if that’s worth knowing.

Any ideas what I should try and do to fix this? Any help would be appreciated 🙂

Cheers!

---

<div class="post-metadata">

**Author:** ![Kevin](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/kevin/32/32_2.png) [@Kevin](https://forum.ghost.org/u/Kevin)\
**Post date:** [November 8, 2018, 9:23am UTC](https://forum.ghost.org/t/ghost-admin-is-a-blank-page-with-missing-css-and-js-but-blog-is-working/3938/2 "2018-11-08T09:23:54Z")

</div>

@fillipvt what `url` value do you have set in your `config.production.json` file?

---

<div class="post-metadata">

**Author:** ![fillipvt](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/fillipvt/32/1882_2.png) [@fillipvt](https://forum.ghost.org/u/fillipvt)\
**Post date:** [November 8, 2018, 11:21am UTC](https://forum.ghost.org/t/ghost-admin-is-a-blank-page-with-missing-css-and-js-but-blog-is-working/3938/3 "2018-11-08T11:21:40Z")

</div>

This is the whole `config.production.json` file:

```json
{
  "url": "https://example.com/blog",
  "server": {
    "port": 2369,
    "host": "127.0.0.1"
  },
  "database": {
    "client": "mysql",
    "connection": {
      "host": "localhost",
      "user": "ghost-649",
      "password": " ****",
      "database": "blog_prod"
    }
  },
  "mail": {
    "transport": "Direct"
  },
  "logging": {
    "transports": [
      "file",
      "stdout"
    ]
  },
  "process": "systemd",
  "paths": {
    "contentPath": "/var/www/example/blog/content"
  },
  "bootstrap-socket": {
    "port": 8000,
    "host": "localhost"
  }
}

```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/b/ba9ce5100b8bb264586f4f572545596b2ce3f081.png) [@system](https://forum.ghost.org/u/system)\
**Post date:** [November 22, 2018, 11:21am UTC](https://forum.ghost.org/t/ghost-admin-is-a-blank-page-with-missing-css-and-js-but-blog-is-working/3938/4 "2018-11-22T11:21:41Z")

</div>

Closed on November 22, 2018, 11:21am UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
