朱纯树博客
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安装完成后域名访问首页空白

评论 656

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

    When I initially commented I clicked the “Notify me when new comments are added” checkbox and now each time a comment
    is added I get several emails with the same comment. Is there any way you can remove people from that service?
    Bless you!

    joker12326分钟前回复
  2. #659

    Commonly Used Drugs Charts. Everything about medicine.
    https://levaquin.science/# buying levaquin without prescription
    Everything about medicine. Get here.

    Donaldicown2小时前回复
  3. #658

    Magnificent goods from you, man. I’ve understand your stuff previous to and you are just too
    great. I actually like what you’ve acquired here, really like what you’re saying and the way in which you say it.
    You make it enjoyable and you still take care of to keep it sensible.
    I can’t wait to read far more from you. This is really a tremendous
    web site.

  4. #657

    Get here. Drugs information sheet.
    where to buy nexium without insurance
    Comprehensive side effect and adverse reaction information. Best and news about drug.

    WillieErert6小时前回复
  5. #656

    Hello. And Bye Bye Bye.

    Larryescop22小时前回复
  6. #655

    excellent points altogether, you simply gained a brand new reader. What would you recommend in regards to your post that you made some days ago? Any positive?

    prodentim23小时前回复
  7. #654

    example graded college essay type of argumentative essay general college essay topics

  8. #653

    Actual trends of drug. Cautions.
    https://stromectolst.com/# stromectol price
    All trends of medicament. Medscape Drugs & Diseases.

    KevinCaf1天前回复
  9. #652

    Get here. Read information now.
    ivermectin cost uk
    drug information and news for professionals and consumers. Commonly Used Drugs Charts.

    Ronaldhax1天前回复
  10. #651

    F*ckin? tremendous issues here. I?m very satisfied to peer your article. Thank you a lot and i am taking a look ahead to touch you. Will you kindly drop me a mail?

  11. #650

    Do you mind if I quote a couple of your articles as
    long as I provide credit and sources back to your weblog? My website is in the very same area of interest as
    yours and my users would definitely benefit from a lot of the
    information you present here. Please let me know if this alright with you.
    Thank you!