ericmp
ericmp
Explore posts from servers
CDCloudflare Developers
Created by ericmp on 2/26/2025 in #general-help
How to configure DNS Websocket Proxy
if at least i could debug it somehow, but that is the hard part, that idk how to follow any trace
67 replies
CDCloudflare Developers
Created by ericmp on 2/26/2025 in #general-help
How to configure DNS Websocket Proxy
😫 dont worry, u already tried to help me a lot, and i appreciate it
67 replies
CDCloudflare Developers
Created by ericmp on 2/26/2025 in #general-help
How to configure DNS Websocket Proxy
no, it doesnt need it
67 replies
CDCloudflare Developers
Created by ericmp on 2/26/2025 in #general-help
How to configure DNS Websocket Proxy
im just using ascii chars, reverb.mysite.com. not sure if that answers the question, i struggled trying to understand it
67 replies
CDCloudflare Developers
Created by ericmp on 2/26/2025 in #general-help
How to configure DNS Websocket Proxy
i tried to use 127.0.0.1 instead of 0.0.0.0, but same result
67 replies
CDCloudflare Developers
Created by ericmp on 2/26/2025 in #general-help
How to configure DNS Websocket Proxy
i dont know what should i try next, any ideas? idk how to debug it further
67 replies
CDCloudflare Developers
Created by ericmp on 2/26/2025 in #general-help
How to configure DNS Websocket Proxy
btw why u say its a bit weird? having 0.0.0.0 is okay i guess, no? or u think its better to not use it?
67 replies
CDCloudflare Developers
Created by ericmp on 2/26/2025 in #general-help
How to configure DNS Websocket Proxy
now trying localhost
67 replies
CDCloudflare Developers
Created by ericmp on 2/26/2025 in #general-help
How to configure DNS Websocket Proxy
had to go :/, but im back (: , i tried to use 127.0.0.1 instead of 0.0.0.0 but same result
67 replies
CDCloudflare Developers
Created by ericmp on 2/26/2025 in #general-help
How to configure DNS Websocket Proxy
or u think there is more to fix?
67 replies
CDCloudflare Developers
Created by ericmp on 2/26/2025 in #general-help
How to configure DNS Websocket Proxy
would maybe this fix it?
67 replies
CDCloudflare Developers
Created by ericmp on 2/26/2025 in #general-help
How to configure DNS Websocket Proxy
same machine
67 replies
CDCloudflare Developers
Created by ericmp on 2/26/2025 in #general-help
How to configure DNS Websocket Proxy
is reverb
67 replies
CDCloudflare Developers
Created by ericmp on 2/26/2025 in #general-help
How to configure DNS Websocket Proxy
while trying to hide my real domain i mess it
67 replies
CDCloudflare Developers
Created by ericmp on 2/26/2025 in #general-help
How to configure DNS Websocket Proxy
sorry
67 replies
CDCloudflare Developers
Created by ericmp on 2/26/2025 in #general-help
How to configure DNS Websocket Proxy
other configs, basic stuff i guess
67 replies
CDCloudflare Developers
Created by ericmp on 2/26/2025 in #general-help
How to configure DNS Websocket Proxy
im using certbot to handle ssl as u can see
67 replies
CDCloudflare Developers
Created by ericmp on 2/26/2025 in #general-help
How to configure DNS Websocket Proxy
/etc/nginx/sites-available/reverb.mysite.com.conf
server {
server_name reverb.mysite.com;

location / {
proxy_http_version 1.1;
proxy_set_header Host $http_host;
proxy_set_header Scheme $scheme;
proxy_set_header SERVER_PORT $server_port;
proxy_set_header REMOTE_ADDR $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";

proxy_pass http://0.0.0.0:2053;
# proxy_pass http://0.0.0.0:9502;
# proxy_pass http://0.0.0.0:6000;
}

listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/reverb.mysite.com/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/reverb.mysite.com/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
}

server {
if ($host = reverb.mysite.com) {
return 301 https://$host$request_uri;
} # managed by Certbot

server_name reverb.mysite.com;
listen 80;
return 404; # managed by Certbot
}
server {
server_name reverb.mysite.com;

location / {
proxy_http_version 1.1;
proxy_set_header Host $http_host;
proxy_set_header Scheme $scheme;
proxy_set_header SERVER_PORT $server_port;
proxy_set_header REMOTE_ADDR $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";

proxy_pass http://0.0.0.0:2053;
# proxy_pass http://0.0.0.0:9502;
# proxy_pass http://0.0.0.0:6000;
}

listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/reverb.mysite.com/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/reverb.mysite.com/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
}

server {
if ($host = reverb.mysite.com) {
return 301 https://$host$request_uri;
} # managed by Certbot

server_name reverb.mysite.com;
listen 80;
return 404; # managed by Certbot
}
67 replies
CDCloudflare Developers
Created by ericmp on 2/26/2025 in #general-help
How to configure DNS Websocket Proxy
so if i shouldnt need to, then i prolly have it configured well, since if i just disable the cloudlfare dns proxy, it just works, but yeah 1sec i share the site config
67 replies
CDCloudflare Developers
Created by ericmp on 2/26/2025 in #general-help
How to configure DNS Websocket Proxy
okay, so if i enable cloudflare dns proxy i have to change the nginx site config?
67 replies