/custom/conf/app.ini
[server]
DOMAIN = 118.31.67.60 #域名
EXTERNAL_URL = http://118.31.67.60:9999/ #url地址
SSH_PORT = 9992 #ssh端口改为非22
START_SSH_SERVER = true #启动用ssh登录
[service]
DISABLE_REGISTRATION = false #关闭注册
ENABLE_CAPTCHA = true #
REQUIRE_SIGNIN_VIEW = true #关闭预览
注:把此处的false改成 true,重启
[picture]
DISABLE_GRAVATAR = true #关闭头像
https://blog.csdn.net/menghuanbeike/article/details/78581937