Full Example Configuration

June 15, 2023 / Administrator / 39阅读 / 0评论/ 分类: Nginx

refer to : https://www.nginx.com/resources/wiki/start/topics/examples/full/

https://www.nginx.com/resources/wiki/start/topics/examples/fullexample2/

proxy.conf

proxy_redirect          off;
proxy_set_header        Host            $host;
proxy_set_header        X-Real-IP       $remote_addr;
proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;
client_max_body_size    10m;
client_body_buffer_size 128k;
proxy_connect_timeout   90;
proxy_send_timeout      90;
proxy_read_timeout      90;
proxy_buffers           32 4k;

文章作者:Administrator

文章链接:http://localhost:8090//archives/fullexampleconfiguration

版权声明:本博客所有文章除特别声明外,均采用CC BY-NC-SA 4.0 许可协议,转载请注明出处!


评论