net::ERR_INCOMPLETE_CHUNKED_ENCODING nginx

后端 未结 8 1259
无人共我
无人共我 2020-12-15 17:38

I have 2 RoR web applications hosted on 2 different servers. For one particular page, the request is served from the second application. For rest of the pages, the request i

8条回答
  •  忘掉有多难
    2020-12-15 18:28

    If proxied server cannot write to /var/lib/nginx, yo do not need to play with file permissions or ownership of that directory. You can change the cache directory of nginx for the context by;

    proxy_temp_path /home/emre/projects/frontend/nginx_temp 1 2;
    

    inside http, server or location contexts of nginx.conf file.

    check http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_temp_path

提交回复
热议问题