Jenkins 简单主题未应用 css

Jenkins Simple Theme not applying css

我通过 Nginx 代理在 Centos 服务器上有一个 Jenkins 实例 运行。我已经安装了 Simple Theme 插件,但是当我在 Configure > Theme 中输入 URL 并且没有保存任何更改时。还有其他方法吗?

我尝试应用的主题是

http://aarjithn.github.io/jenkins-neo-theme/dist/neo-light.css

之前也尝试过其他主题

通过将 css 文件放在服务器本身并将其添加到 /etc/nginx/nginx.conf

来解决它
location /css-theme {
        autoindex on;
        alias /var/lib/jenkins/userContent;
    }

https://mydomain/css-theme/jenkins.css

在 Simple Theme 插件配置中