- 进入Dicourse Docker容器:
./launcher enter app
- 进入容器后修改域名格式如下(BEFORE):
discourse remap =旧域名= =新域名=
- 重新编译
rake posts:rebake
- 进入后台把旧域名更替为新域名
/admin/site_settings
如若转载请注明出处:
./launcher enter app
discourse remap =旧域名= =新域名=
rake posts:rebake
/admin/site_settings