This repository was archived by the owner on Jun 24, 2022. It is now read-only.

Description
Im testing without domain first to see if it works..
frontend_1 | 1xx.18.0.1 - -"GET / HTTP/1.1" 301 169 "-" "Wget/1.14 (linux-gnu)" "-"
frontend_1 | [info] 29#29: *4 client 1xx.18.0.1 closed keepalive connection
So it's doing something..
wget http://localhost:443 gives me: Connecting to localhost (localhost)|127.0.0.1|:443... connected. HTTP request sent, awaiting response... Read error (Connection reset by peer) in headers. Retrying.
- Nothing happens in logs
.conf
server {
listen 443 ssl;
server_name *.aaa.com;
ssl_certificate /etc/letsencrypt/live/aaa.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/aaa.com/privkey.pem;
location /1/ {
proxy_pass http://127.0.0.1:8081;
}
location /2/ {
proxy_pass http://127.0.0.1:8443;
}
location /3/ {
proxy_pass https://google.com;
}
}
Also we should poin the root to this ip or the www version of the website or doesnt matter?