Home > front end >  How to set up a reverse proxy server with alb on AWS?
How to set up a reverse proxy server with alb on AWS?

Time:10-13

I created a service publish structure as below

enter image description here

I don't know why can't access the domain successfully. Where maybe the issue?


The public LB's listener rules are

enter image description here

CodePudding user response:

You can add HTTP to HTTPS redirect config in the Loadbalancer rule itself. enter image description here

To proxy your HTTPS requests to Applications server

server {
  listen       80 default_server;
  server_name  _;

    location / {
        proxy_pass <internal_loadbalancer_dns_name>;
    }
}
  • Related