nginx - Nginx 请求在尝试连接时给出 ERR_INCOMPLETE_CHUNKED_ENCODING
问题描述
我已经在 /etc/nginx/sites-enabled 文件名中配置了我的 nginx 配置文件:- subdomain.xyz
但是当我在 location 指令中使用 proxy_pass 时,它会在 chrome 浏览器中给我 ERR_INCOMPLETE_CHUNKED_ENCODING 。
我的配置文件:-
server {
listen 443 ssl default_server;
listen [::]:443 ssl default_server;
server_name subdomain_name;
include /etc/nginx/snippets/ssl;
location / {
proxy_pass http://ip_address:port_number/services;
}
}
谁可以帮我这个事。先感谢您
解决方案
我已经在 nginx 配置文件中使用 add proxy_hadder 解决了这个问题
推荐阅读
- c# - 如何动态加载 xunit 测试?
- java - 如何在 Kotlin 中实现时间调度器
- java - arrayListOf(), sortedWith, compareBy Java 等价物
- html - 使用 VBA 从亚马逊获取产品价格和名称
- java - hibernate.hbm2ddl.auto 影响当前数据库
- c# - 在 MySql bool 和 C# bool 之间转换的正确方法是什么?
- amazon-web-services - 通过简单 GSI 删除 DynamoDB 项目
- go - 如何在 Go 中向 Kafka 添加分区?
- python - 无法访问 Tableau Public 仪表板中显示的表
- c - 在后台获取原始键盘和鼠标输入数据