Skip to content
This repository was archived by the owner on Jun 24, 2022. It is now read-only.
This repository was 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

@stevemarksd

Description

@stevemarksd

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions