Congratulations!
おめでとう!
Felicidades!
恭喜!
बधाई हो!
Поздравляю!
Вітаю!
🎊
Your web server is working. Now make it work for you. 💪
Caddy is ready to serve your site over HTTPS:
- Point your domain's A/AAAA DNS records at this machine.
- Upload your site's files to
/var/www/html
.
-
Edit your Caddyfile at
/etc/caddy/Caddyfile
:
- Replace
:80
with your domain name
- Change the site root to
/var/www/html
- Reload the configuration:
systemctl reload caddy
- Visit your site!
If that worked 🥳
Awesome! You won't have to look at this slanted page anymore.
Remember, Caddy can do a lot more than serve static files. It's also a powerful reverse proxy and
application platform. You can use the Caddyfile to enable any other features you need. Or you could use
Caddy's API to configure it programmatically.
Everything you need to know is either in the 📖 Caddy
documentation or the manual for your OS/platform. Have fun!
If that didn't work 😶
It's okay, you can fix it! First check the following things:
- Service status:
systemctl status caddy
- Logs:
journalctl --no-pager -u caddy
- Are your site's files readable by the caddy user and group?
ls -la /var/www/html
- Is the caddy home directory writeable?
ls -la /var/lib/caddy
- Ensure your domain's A and/or AAAA records point to your machine's public IP address:
dig example.com
- Are your ports 80 and 443 externally reachable, and is Caddy able to bind to them? Check your
firewalls, port forwarding, and other network configuration.
WAIT! Before trying again, switch to Let's Encrypt's staging environment to
avoid being accidentally rate limited. Once you
get everything else working, it's safe to switch back.
Depending on your DNS provider, it may take a while for the DNS records to propagate. Even when
everything is configured properly, automated challenges to obtain TLS certificates usually take several
seconds, but may take up to several minutes or hours.
If you still need help, we have a great community! First try a search, and if your question is original, go ahead
and ask it! Remember to pay it forward and help others too. 😁
Visit Caddy on:
GitHub
or
Twitter
or
Our Forum
多谢大佬,那么怎么增加用户呢,和 synapse-admin 配置。
我卡在设置用户这里了
在homeserver.yml下面加上
enable_registration: true
enable_registration_without_verification: true
这个表示用户可以自己进行注册并且不需要验证。
synapse-admin,我没有使用过,暂时无法回答你这个问题,我有机会看看。
Vultr的vps国内要访问的话是不是要翻墙
我这边四川电信可以直接访问,不需要特殊设置网络。
测试
这个我用安卓登陆,还需要Canndy设置反向代理么
你可以试一试,就是选择服务器的时候,直接输入 ip端口形式,看能不能使用。我测试的时候,用的 element 网页端必须要是反代,用域名才可以。
搭建好,两个设备不在同一局域网的情况下,语音和视频通话无法建立连接。这是怎么回事?
需要用到coturn