# Reverse Proxy with Wordpress + Nuxt ?

**URL:** <https://community.fly.io/t/reverse-proxy-with-wordpress-nuxt/23377>\
**Category:** JavaScript\
**Tags:** machines, volumes\
**Created:** [January 7, 2025, 9:29pm UTC](https://community.fly.io/t/reverse-proxy-with-wordpress-nuxt/23377 "2025-01-07T21:29:54Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Recall45](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/recall45/32/41375_2.png) [@Recall45](https://community.fly.io/u/Recall45)\
**Post date:** [January 7, 2025, 9:29pm UTC](https://community.fly.io/t/reverse-proxy-with-wordpress-nuxt/23377/1 "2025-01-07T21:29:54Z")

</div>

**Goal** : I want to set up a reverse proxy for the `/app/blog` path in my Nuxt app, so that every time a visitor goes to that URL, it loads content from a WordPress instance.

**Questions** :

1. Has anyone successfully implemented this kind of setup before?
2. Is using a reverse proxy my only option for this?
3. Where can I find documentation for setting up a reverse proxy on [Fly.io](http://Fly.io)?

---

<div class="post-metadata">

**Author:** ![DuncanC](https://avatars.discourse-cdn.com/v4/letter/d/eb8c5e/32.png) [@DuncanC](https://community.fly.io/u/DuncanC)\
**Post date:** [January 8, 2025, 4:20pm UTC](https://community.fly.io/t/reverse-proxy-with-wordpress-nuxt/23377/2 "2025-01-08T16:20:09Z")

</div>

It is how I do it, and I don’t know of a better option. I set nginx up as the exposed port on the container and have it direct the routes to the correct service inside the container.  
People keep asking for documentation on here for stuff that I just don’t think is fly’s responsibility to document. [Fly.io](http://Fly.io) is for once you have a container and need to manage it’s deployment. The container isn’t fly specific at all which is why I love [fly.io](http://fly.io). How to get that working container is outside of the scope of fly IMO. There are lots of resources on how to write a docker build file.

---

<div class="post-metadata">

**Author:** ![samruby](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/samruby/32/39532_2.png) [@samruby](https://community.fly.io/u/samruby)\
**Post date:** [January 8, 2025, 5:45pm UTC](https://community.fly.io/t/reverse-proxy-with-wordpress-nuxt/23377/3 "2025-01-08T17:45:23Z")

</div>

nitro route rules should just work: [Server Routes - Nitro](https://nitro.build/guide/routing#route-rules)

---

<div class="post-metadata">

**Author:** ![Recall45](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/recall45/32/41375_2.png) [@Recall45](https://community.fly.io/u/Recall45)\
**Post date:** [January 8, 2025, 6:43pm UTC](https://community.fly.io/t/reverse-proxy-with-wordpress-nuxt/23377/4 "2025-01-08T18:43:01Z")

</div>

sorry, next time i will make sure i know the answer before posting at all at this help forum

---

<div class="post-metadata">

**Author:** ![Recall45](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/recall45/32/41375_2.png) [@Recall45](https://community.fly.io/u/Recall45)\
**Post date:** [January 12, 2025, 5:10pm UTC](https://community.fly.io/t/reverse-proxy-with-wordpress-nuxt/23377/5 "2025-01-12T17:10:34Z")

</div>

Thank you. Btw, aren’t fly proxy rules better?

---

<div class="post-metadata">

**Author:** ![Recall45](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/recall45/32/41375_2.png) [@Recall45](https://community.fly.io/u/Recall45)\
**Post date:** [January 20, 2025, 2:54am UTC](https://community.fly.io/t/reverse-proxy-with-wordpress-nuxt/23377/6 "2025-01-20T02:54:56Z")

</div>

Update on this thread - Yes, nitro roules worked, fly replay worked too. However, at 3.75sec to load an empty blog both are way suboptimal solutions.  
Now im learning how to set a simple Nginx server
