Saggi Bashari
Saggi Bashari

Reputation: 436

Nginx to RDS AWS

so I have Nginx installed on top EC2 instance.

I want to route any income requests to RDS Postgres AWS.

The issue is that I don't really know how to configure Nginx to route to a connection string that AWS RDS provides me. Any ideas?

Upvotes: 0

Views: 527

Answers (1)

javierlga
javierlga

Reputation: 1652

You can configure a stream block, and then configure a proxy_pass inside a server directive with the FQDN of your RDS instance.

Upvotes: 1

Related Questions