Relative Content

Tag Archive for dockerapachenext.jsnext.js14

Using apache proxy to Next.js app running in Docker container

I’m sure there’s a simple answer to this… I’ve got a Next.js v14 app running in a container which is exposed on port 6502. I can reach it using http://localhost:6502 and everything works. Now I want to use Apache’s reverse proxy to serve up the site but when I do, I get all kinds of problems with the wrong URLs showing up (i.e. paths missing).