无法加载semantic-2.3.1.min.js和semantic-2.3.1.min.css

Gogs 版本:0.11.94.1003
系统类型及版本:CentOS Linux release 7.7.1908 (Core)
数据库:Sqlite
问题描述:按照https://gogs.io/docs/installation/install_from_source 安装, 使用go build -tags "sqlite pam cert"构建,./gogs web启动之后访问首页,UI样式丢失

chrome控制台输出:
semantic-2.3.1.min.css:1 Failed to load resource: net::ERR_CONTENT_LENGTH_MISMATCH
semantic-2.3.1.min.js:1 Failed to load resource: net::ERR_CONTENT_LENGTH_MISMATCH

服务器gogs命令行输出:

[Macaron] 2019-10-11 16:48:30: Started GET /js/semantic-2.3.1.min.js for 127.0.0.1
[Macaron] [Static] Serving /js/semantic-2.3.1.min.js
[Macaron] 2019-10-11 16:48:30: Completed GET /js/semantic-2.3.1.min.js 200 OK in 592.543µs
[Macaron] 2019-10-11 16:48:30: Started GET /css/gogs.css?v=d245f9fa6f51770e71f12b42ff6130c5 for 127.0.0.1
[Macaron] [Static] Serving /css/gogs.css
[Macaron] 2019-10-11 16:48:30: Completed GET /css/gogs.css?v=d245f9fa6f51770e71f12b42ff6130c5 200 OK in 207.401µs
[Macaron] 2019-10-11 16:48:30: Started GET /css/semantic-2.3.1.min.css for 127.0.0.1
[Macaron] [Static] Serving /css/semantic-2.3.1.min.css
[Macaron] 2019-10-11 16:48:30: Completed GET /css/semantic-2.3.1.min.css 200 OK in 774.968µs

Windows下Chrome和Firefox现象均一致,是否需要对服务器做其他设置?

你有使用什么反向代理么,有的话方便发一下配置吗?

确实是nginx反向代理的访问权限问题,已解决