Issue with certbot SSL after installing on oracle cloud

Hey there

Sorry, i’m using npm, i’ve found some posts about this same issue on 2020, it seems to be something like this: Connection lost - #60 by rafas.

Using reverse proxy on nginx, I got some problems even before getting to SSL, now i found that.

So my issue is i’ve succesfully installed n8n via npm, but when installing reverse proxy for nginx i got gonnection lost from n8n UI.

thats my nginx reverse-proxy.conf:

server {
listen 80;
listen [::]:80;

server_name xxxx.viewdns.net;

access_log /var/log/nginx/reverse-access.log;
error_log /var/log/nginx/reverse-error.log;

location / {
    proxy_pass http://127.0.0.1:5678;
    proxy_set_header Host $host;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded-Proto $scheme;

    proxy_set_header Connection '';
    proxy_http_version 1.1;
    chunked_transfer_encoding off;
    proxy_buffering off;
    proxy_cache off;
}

}