# Page not rendering behind nginx proxy

**URL:** <https://forum.gitea.com/t/page-not-rendering-behind-nginx-proxy/2653>\
**Category:** Install/Maintain/Configure\
**Created:** [November 19, 2020, 8:53pm UTC](https://forum.gitea.com/t/page-not-rendering-behind-nginx-proxy/2653 "2020-11-19T20:53:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pryme-svg](https://avatars.discourse-cdn.com/v4/letter/p/ed8c4c/32.png) [@pryme-svg](https://forum.gitea.com/u/pryme-svg)\
**Post date:** [November 19, 2020, 8:53pm UTC](https://forum.gitea.com/t/page-not-rendering-behind-nginx-proxy/2653/1 "2020-11-19T20:53:33Z")

</div>

In my nginx config, I have

```
    location /gitea/ {
        proxy_pass http://localhost:3000/;
}

```

However, when I visit [http://mydomain/gitea/](http://mydomain/gitea/), the website does not render properly as seen below. However, it still works when I access gitea via port 3000.

![image](https://us1.discourse-cdn.com/flex020/uploads/gitea/original/2X/c/c98f0390c93980ed8c26b2355f147fac35a9e0a3.png)

---

<div class="post-metadata">

**Author:** ![pryme-svg](https://avatars.discourse-cdn.com/v4/letter/p/ed8c4c/32.png) [@pryme-svg](https://forum.gitea.com/u/pryme-svg)\
**Post date:** [November 19, 2020, 10:30pm UTC](https://forum.gitea.com/t/page-not-rendering-behind-nginx-proxy/2653/2 "2020-11-19T22:30:42Z")

</div>

> **[Usage: Reverse Proxies - Docs](https://docs.gitea.io/en-us/reverse-proxies/#using-nginx-with-a-sub-path-as-a-reverse-proxy)**

I didn’t read the last part of the section.
