欢迎您访问 最编程 本站为您分享编程语言代码,编程技术文章!
您现在的位置是: 首页

非K8S环境下的OpenIM集群部署指南

最编程 2024-02-17 10:03:47
...
      gzip on;       gzip_min_length 1k;       gzip_buffers 4 16k;       gzip_comp_level 2;       gzip_types text/plain application/javascript application/x-javascript text/css application/xml text/javascript application/x-httpd-php image/jpeg image/gif image/png;       gzip_vary off;       gzip_disable "MSIE [1-6].";   location / {           proxy_pass http://127.0.0.1:10005/;           proxy_set_header X-Real-IP $remote_addr;           proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;           proxy_set_header X-Forwarded-Proto $scheme;           proxy_set_header Host $http_host;           proxy_http_version 1.1;           client_max_body_size 8000M;   } }