首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往
您找到你想要的搜索结果了吗?
是的
没有找到

Discourse 的系统日志

Discourse 提供了较为完善的日志查看方式。用得最多的可能就是 Logster 的基于 Web 的 UI 了。...系统日志和所有系统一样,Discourse 使用了 nginx 为 Web 服务器。这个日志不会显示在 logster 上面的。你需要进入你的服务器后才能看到。...Discourse 做了系统的优化,把系统使用的日志卷给映射出来了,你并不需要进入容器才能看到日志。举个例子,我们希望看见 nginx 的 access 访问日志。...那么在你的服务器上可以直接访问: /var/discourse/shared/standalone/log/var-log/nginx 这个地址就可以了。...所有容器中的日志,也可以通过上面的路径查看到,你并不需要进入 Discourse 的容器内。https://www.isharkfly.com/t/discourse/14715

11220

Discourse 如何安装插件

我们希望给 Discourse 安装一个 sitemap 的插件。 你的 Discourse 需要这个插件吗?实际上是不需要的,这个插件能够帮助你加快索引,但是对 SEO 并不起太大作用。...: https://github.com/discourse/discourse-sitemap.git 将插件地址的仓库注册 请参考官方的教程,地址为: https://meta.discourse.org.../t/install-plugins-in-discourse/19157 你需要修改 Discourse 安装路径下的 app.yml 文件。...添加下面一行: - git clone https://github.com/discourse/discourse-sitemap.git 上面的图片显示添加成功后的内容。...重构 在完成上面的配置后,依次执行下面的命令来对你安装的 Discourse 进行重构。 这个重构可能比较消耗时间,你需要耐心等候。 cd /var/discourse .

50700

Discourse 安装 Google Adsense

在使用 Discourse 进行服务的时候,很多人可能会希望安装一些广告服务。 对 Discourse 的广告服务来说还是可以的,因为广告服务的位置不是非常影响阅读。...这篇文章将会描述如何在 Discourse 中提供广告服务。 安装插件 Discourse 的 Google Adsense 广告服务是使用插件进行安装的。...广告服务的源代码,请参考: GitHub - discourse/discourse-adplugin: Official Discourse Advertising Plugin....如下: sudo -E -u discourse git clone https://github.com/discourse/discourse-adplugin.git 添加后进行保存。...保存后再次访问 Discourse 网站。 广告被屏蔽 广告有可能被 Discourse 的安全配置所屏蔽而导致你没有办法进行查看。 在 Discourse 中搜索关键字 CSP ,然后选择安全。

87910
领券