Git Product home page Git Product logo

Comments (9)

CareyWang avatar CareyWang commented on June 26, 2024

暂时可修改 Dockerfile 中 amd64 为 arm64 解决

from myurls.

ypxun avatar ypxun commented on June 26, 2024

暂时可修改 Dockerfile 中 amd64 为 arm64 解决

arm64的包通过Actions搞了下,有了。不过我看才3M大小,对吗(看到有报错)?docker方式安装的话是不是没必要用了?
image

from myurls.

CareyWang avatar CareyWang commented on June 26, 2024

@ypxun 有自建redis的话,可以直接使用action编译产出

from myurls.

ypxun avatar ypxun commented on June 26, 2024

@ypxun 有自建redis的话,可以直接使用action编译产出

现在是碰到了 #7 同样的问题,短点的链接缩短没问题,太长的链接缩短后的短链打开直接502。我也尝试了他的解决方法,把

client_max_body_size 100M;
client_body_buffer_size 1M;
client_header_buffer_size 5120k;
large_client_header_buffers 16 5120k;

放在了nginx的http区块里,短链接的页面还是502,请问还应该排查哪里呢?

from myurls.

ypxun avatar ypxun commented on June 26, 2024

@CareyWang 可以指导下吗?我看了容器的日志,没有异常。可是太长的链接转换出来的短链接依然502,不知道还应该从哪里排错。
image

from myurls.

CareyWang avatar CareyWang commented on June 26, 2024

@ypxun 提供原异常链接

from myurls.

ypxun avatar ypxun commented on June 26, 2024

@CareyWang 大佬,你那测试有问题没?我今天试了下别人的后端和前端。也是有的可以,有的不行。

from myurls.

CareyWang avatar CareyWang commented on June 26, 2024

该问题由反向代理层引入,不通过反向代理直接请求服务无问题。
可 Google upstream sent too big header while reading response header from upstream 解决

from myurls.

ypxun avatar ypxun commented on June 26, 2024

该问题由反向代理层引入,不通过反向代理直接请求服务无问题。 可 Google upstream sent too big header while reading response header from upstream 解决

谢谢大佬,大佬nb。谷歌抄来的代码放在nginx里解决了:

fastcgi_buffers 16 16k;
fastcgi_buffer_size 32k;
proxy_busy_buffers_size 512k;
proxy_buffers 4 512k;
proxy_buffer_size 256k;

from myurls.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.