-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
Hi,
I've set up both my website and reverse-proxy in my vps. However, when I access to my site (using both domain .ton and .adnl), it shows
TON site {domain} is not responding.
I did tried with curl, and it still not work (even it works with foundation.ton)
$ curl -v -x in1.ton.org:8080 http://v6x7vya2vpafqy7ese4ks76m7ilc5m4uihzruwwxgfebxi3mnjoae34.adnl
* Trying 5.2.76.237:8080...
* TCP_NODELAY set
* Connected to in1.ton.org (5.2.76.237) port 8080 (#0)
> GET http://v6x7vya2vpafqy7ese4ks76m7ilc5m4uihzruwwxgfebxi3mnjoae34.adnl/ HTTP/1.1
> Host: v6x7vya2vpafqy7ese4ks76m7ilc5m4uihzruwwxgfebxi3mnjoae34.adnl
> User-Agent: curl/7.68.0
> Accept: */*
> Proxy-Connection: Keep-Alive
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 504 Gateway Timeout
< Connection: keep-alive
< Content-length: 0
<
* Connection #0 to host in1.ton.org left intact
In my vps, reverse-proxy shows
$ tonutils-reverse-proxy-linux-amd64 --domain {domain.ton}
2024/07/22 02:14:00 Server's ADNL address is v6x7vya2vpafqy7ese4ks76m7ilc5m4uihzruwwxgfebxi3mnjoae34.adnl
Domain {domain.ton} is already configured to use with current ADNL address. Everything is OK!
2024/07/22 02:14:02 Starting server on v6x7vya2vpafqy7ese4ks76m7ilc5m4uihzruwwxgfebxi3mnjoae34.adnl
2024/07/22 02:14:06 DHT ADNL address record for TON Site was refreshed successfully on 5 nodes to ip {ip} with port 12928
And configuration is
{
"proxy_pass": "http://127.0.0.1:80/",
"private_key": "{private-key}",
"external_ip": "{ip}",
"listen_ip": "0.0.0.0",
"network_config_url": "https://ton-blockchain.github.io/global.config.json",
"port": 12928
}
My nginx is running at port 80, netstat -nlptu shows
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 784/sshd: /usr/sbin
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 809/nginx: master p
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 809/nginx: master p
tcp6 0 0 :::22 :::* LISTEN 784/sshd: /usr/sbin
udp6 0 0 :::56828 :::* 2432/./tonutils-rev
udp6 0 0 :::12928 :::* 2432/./tonutils-rev
Do you have any advice for this situation?
Metadata
Metadata
Assignees
Labels
No labels