朱纯树博客
VPS测评推荐网站
cloudacead cloudacead

完美解决Cloudreve安装完成后域名访问首页空白

完美解决cloudreve安装完成后域名访问首页空白,首先出现错误的环境为Linux, Centos,软件包64位,自己编译的,非使用宝塔面板,按照Cloudreve配置完后,我发现使用授权的域名访问,首页显示空白,打开控制台查看,发现是静态文件等无法访问,明明配置了反代规则,为什么不行呢?

完美解决Cloudreve安装完成后域名访问首页空白插图

反代规则

  1. location / {
  2. proxy_set_header XForwardedFor $proxy_add_x_forwarded_for;
  3. proxy_set_header Host $http_host;
  4. proxy_redirect off;
  5. proxy_pass http://81.68.66.128;
  6. }

其实原因很简单,那就是此规则和自编译的Nginx产生的规则冲突,将Nginx默认生成的其他location规则全部删除,仅仅留下上面的规则,重启Nginx和Cloudreve即可!

赞(0) 打赏
未经允许不得转载:VPS测评推荐网站 - 朱纯树博客 » 完美解决Cloudreve安装完成后域名访问首页空白

评论 29

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
  1. #30

    I love your blog.. very nice colors & theme.
    Did you create this website yourself or did you
    hire someone to do it for you? Plz respond as I’m looking to create my
    own blog and would like to find out where u got this from.
    cheers

  2. #29

    Great weblog here! Additionally your website loads up very fast!
    What host are you the use of? Can I am getting your affiliate hyperlink
    to your host? I want my site loaded up as fast as yours lol

  3. #28

    Hello to all, the contents present at this web page are truly awesome for people
    knowledge, well, keep up the nice work fellows.

  4. #27

    I really like what you guys are usually up too.
    Such clever work and exposure! Keep up the wonderful works guys
    I’ve you guys to my own blogroll.

    tinyurl.com1周前 (08-02)回复
  5. #26

    Simply desire to say your article is as surprising. The clarity to your
    submit is just spectacular and that i could assume you are
    knowledgeable in this subject. Fine with your permission allow me to grab your RSS feed
    to stay updated with forthcoming post. Thanks a
    million and please continue the rewarding work.

  6. #25

    Touche. Outstanding arguments. Keep up the great work.

  7. #24

    Good post. I’m going through a few of these issues as well..

    tinyurl.com3周前 (07-22)回复
  8. #23

    Hello, Neat post. There is a problem along with your website in web explorer, would check this?
    IE nonetheless is the market leader and
    a huge portion of other people will miss your excellent writing
    because of this problem.

  9. #22

    If some one wishes expert view regarding blogging after that
    i propose him/her to pay a quick visit this website, Keep
    up the nice job.

    http://tinyurl.com2个月前 (06-03)回复
  10. #21

    Hmm is anyone else encountering problems with the pictureson this blog loading? I’m trying to figure out if its a problem on myend or if it’s the blog. Any feed-back would be greatlyappreciated.

    crork3个月前 (05-11)回复
  11. #20

    wonderful issues altogether, you simply won a emblem new reader.
    What may you suggest in regards to your publish that
    you made some days in the past? Any sure?

    tinyurl.com3个月前 (05-10)回复
  12. #19

    Enjoyed the read

    Bukakke4个月前 (04-27)回复
  13. #18

    Enjoyed every sentence

    boceta4个月前 (04-25)回复