# Serving .json and .js on my Domain for Pushnami

**URL:** <https://forum.ghost.org/t/serving-json-and-js-on-my-domain-for-pushnami/13978>\
**Category:** Developer help\
**Created:** [April 30, 2020, 6:01pm UTC](https://forum.ghost.org/t/serving-json-and-js-on-my-domain-for-pushnami/13978 "2020-04-30T18:01:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ante](https://avatars.discourse-cdn.com/v4/letter/a/b19c9b/32.png) [@ante](https://forum.ghost.org/u/ante)\
**Post date:** [April 30, 2020, 6:01pm UTC](https://forum.ghost.org/t/serving-json-and-js-on-my-domain-for-pushnami/13978/1 "2020-04-30T18:01:26Z")

</div>

Hello, I installed Ghost Blog and have it working perfectly on my Ubuntu server.

What I’m trying to do is install “Pushnami” into my blog. They say to add 2 lines of code into the “head” which I did with code injections. But I need to serve 2 files they provided @ (mydomain(.)com/manifest.json) (mydomain(.)com/service-worker.js) - I’m not sure how to do about this and in what directory to upload the 2 files.

My blog is located @ : /var/www/ghost/mydomain(.)com

**My NGINX Config**

```
server {
listen 80;
listen [::]:80;

server_name mydomain.com;
root /var/www/ghost/mydomain.com/system/nginx-root; # Used for acme.sh SSL verification (https://acme.sh)

location / {
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded-Proto $scheme;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header Host $http_host;
    proxy_pass http://127.0.0.1:2368;
}

location ~ /.well-known {
    allow all;
}

client_max_body_size 50m;
}

```

I know I need to edit this config file, just not sure how. It’s important that the .js and .json are served from [mydomain.com/](http://mydomain.com/) and not [mydomain.com/sub/file.json](http://mydomain.com/sub/file.json)

Thank you in advance.

---

<div class="post-metadata">

**Author:** ![DavidDarnes](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/daviddarnes/32/3533_2.png) [@DavidDarnes](https://forum.ghost.org/u/DavidDarnes)\
**Post date:** [May 1, 2020, 11:35am UTC](https://forum.ghost.org/t/serving-json-and-js-on-my-domain-for-pushnami/13978/2 "2020-05-01T11:35:03Z")

</div>

There’s no need to modify your site configuration to serve static JavaScript files. You can add them to the root of your theme that you’re using and then reference them in your template files. Downloading, and uploading, your theme can be done via the Design view within your Ghost admin 🖌
