---
title: "Discussion on \"Reverse proxy with NGINX (AMZ Linux 2) + NAT instance\" | Hashnode"
description: "Discussion on \"Reverse proxy with NGINX (AMZ Linux 2) + NAT instance\". Install nginx\nsudo amazon-linux-extras install nginx1\n\nnginx -v\n\nsudo systemctl start nginx\nsudo systemctl enable nginx\n\nsudo systemctl status nginx\nsudo systemctl is-enabled nginx\n\nConfigure reverse"
url: "https://hashnode.com/posts/reverse-proxy-with-nginx-amz-linux-2-nat-instance/66238b383354bd01ad3e3da8"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Reverse proxy with NGINX (AMZ Linux 2) + NAT instance](https://yentrinh.hashnode.dev/reverse-proxy-with-nginx-amz-linux-2-nat-instance?utm_source=hashnode&utm_medium=feed)

Install nginx sudo amazon-linux-extras install nginx1 nginx -v sudo systemctl start nginx sudo systemctl enable nginx sudo systemctl status nginx sudo systemctl is-enabled nginx Configure reverse

Apr 20, 2024 · 7 min read · yentrinh.hashnode.dev  
Updated Mar 14  
Read the article

-   [#aws](https://hashnode.com/tag/aws)

## Written by

[Hải Yến Trịnh](https://hashnode.com/@yentrinh)

@yentrinh

  
[View profile](https://hashnode.com/@yentrinh)

## Responses

Markdown supported · ⌘↵ to post

[geeks](https://hashnode.com/@geeksforgeek)

[Jan 28, 2025](https://hashnode.com/posts/reverse-proxy-with-nginx-amz-linux-2-nat-instance/66238b383354bd01ad3e3da8/comment/6798bdcae19ac6b80f328668)

"Setting up NGINX as a reverse proxy for EC2 was quite a ride for me, especially when handling the SSL configuration. I kept hitting snags during the key generation and certificate setup stages, and it felt overwhelming at times.

While troubleshooting, I stumbled across this [guide to Install Cockpit on Debian 12](https://docs.vultr.com/how-to-install-cockpit-on-debian-12), which turned out to be a lifesaver for monitoring server configurations. Trust me, having an easy way to visualize and manage things makes a world of difference. Highly recommend checking it out if you're working on server setups like this one!"
