首页 > 解决方案 > 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;
        }
    }

谁可以帮我这个事。先感谢您

标签: nginxreverse-proxy

解决方案


我已经在 nginx 配置文件中使用 add proxy_hadder 解决了这个问题


推荐阅读