dokploy icon indicating copy to clipboard operation
dokploy copied to clipboard

Allow NGINX config editing

Open ohkimur opened this issue 2 years ago • 3 comments

What problem will this feature address?

I'm trying to host next js as a static build using the nixpacks and the NGINX static server. However, according to nextjs docs it's necessary to configure NGINX to handle try_files in a certain way.

Describe the solution you'd like

Expose NGINX config

Describe alternatives you've considered

none

Additional context

No response

ohkimur avatar Oct 30 '24 22:10 ohkimur

You can use File mounts to mount a nginx.conf to the container

Siumauricio avatar Oct 31 '24 02:10 Siumauricio

This functionality is easily abstracted with mounts, where you can create an nginx.conf file and modify it, so I think we can close it since it is not necessary.

Siumauricio avatar Dec 15 '24 02:12 Siumauricio

This functionality is easily abstracted with mounts, where you can create an nginx.conf file and modify it, so I think we can close it since it is not necessary.

If anyone wants specifics on how to do this please see this thread -> Its more on the Docker side but I left the answer I used for Typing SVG How To Use UI to customize .conf file

#503

JoshuaMichaelHanson avatar Nov 14 '25 16:11 JoshuaMichaelHanson