Relative Content

Monthly Archives: November 2026

Route a subdomain thru nginx to docker

Set proxy for a docker service thru subdomain. Subdomain: your.domain.com Docker Port: 9999 Edit docker-compose for an app you would like to proxy to. Add 127.0.0.1:9999, mapping it to a port in docker (here it’s 3000)

Restart

Create nginx config, replacing 9999 and your.domain.com to docker port and subdomain of your choice.

[…]