所以我在我们服务器上的一个(Ubuntu20.04) VM上安装了Etherpad-Lite。
我还安装了Nginx并设置了下面的vhost。
在我的站点中,有两个条目:默认值和etherpad.conf
这是我的etherpad.conf
upstream etherpad {
server localhost:9001;
keepalive 32;
}
server {
listen 80;
server_name example.etherpad.at;
location / {
client_max_body_size 50M;
proxy_set_header X-Real-IP $remote_addr;
proxy_http_version 1.1;
proxy_pass http://etherpad;
}
}这是我的Etherpad的settings.json (ip设置为127.0.0.1)
* IP and port which Etherpad should bind at.
*
* Binding to a Unix socket is also supported: just use an empty string for
* the ip, and put the full path to the socket in the port parameter.
*
* EXAMPLE USING UNIX SOCKET:
* "ip": "", // <-- has to be an empty string
* "port" : "/somepath/etherpad.socket", // <-- path to a Unix socket
*/
"ip": "127.0.0.1",
"port": 9001,我还在我的主机文件和防火墙中添加了一个DNS条目,只是为了测试目的。
但是当我进入域名或IP时,我会得到一个“这个网站不是reachable.....right dns...proxy.”
当我将etherpad的ip设置为其他东西时,我总是会得到:错误:听EADDRNOTAVAIL
我做错什么了?
发布于 2021-04-26 06:10:49
所以很明显,我所有的配置都是正确的,但只有在重新安装之后,它才起作用。
https://serverfault.com/questions/1060111
复制相似问题