---
title: "Comment by Ranjan Lamsal on \"Setting up DNS records and reverse proxy with nginx\" | Hashnode"
description: "The provided docker-compose.yml seems to be invalid. Can you update the yml file adding valid \"port\" section for port mapping"
url: "https://hashnode.com/posts/dns-reverse-proxy/668aa80394290cef17c6eb2f/comment/68a5aeea5de2081f6b4fb42f"
---

[Discussion](https://hashnode.com/posts/dns-reverse-proxy/668aa80394290cef17c6eb2f)

Comment [Setting up DNS records and reverse proxy with nginx](https://hashnode.com/posts/dns-reverse-proxy/668aa80394290cef17c6eb2f)

[Ranjan Lamsal](https://hashnode.com/@ranjanlamsal)

[Aug 20, 2025](https://hashnode.com/posts/dns-reverse-proxy/668aa80394290cef17c6eb2f/comment/68a5aeea5de2081f6b4fb42f)

The provided docker-compose.yml seems to be invalid. Can you update the yml file adding valid "port" section for port mapping
