Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

Not really working anything. Can't connect to my proxy pass #42

Open
stevemarksd opened this issue Feb 23, 2021 · 0 comments
Open

Not really working anything. Can't connect to my proxy pass #42

stevemarksd opened this issue Feb 23, 2021 · 0 comments

Comments

@stevemarksd
Copy link

stevemarksd commented Feb 23, 2021

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?

@stevemarksd stevemarksd changed the title Not really working Not really working anything. Can't connect to my proxy pass Feb 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant