-
nginx keepalive 502 问题
服务使用的是 nginx + tomcat最近发现偶现 502错误日志:2018/10/17 01:31:05 [debug] 46093#46093: *606728052 http upstream process header2018/10/17 01:31:05 [debug] 46093#46093: *606728052 malloc: 00007FB65E3834E0:4...
-
-
小白请教一下 nginx 的 location 和 proxy_pass 后面有无斜杠的区别
我结合 tomcat 和 nginx 也做了一些测试,具体如下,例如访问地址是 http://nginx/test/a.html配置 1:location /test {... proxy_pass http://host:9020;}结果:test/a.html配置 2:location /test {... proxy_pass http://host:9020/;}结果:RO...
-
nginx 反代传递域名端口的问题
先贴个我的配置:server{listen 8 ssl http2; server_name domain.com; ssl_certificate /etc/default/fullchain.cer; ssl_certificate_key /etc/default/domain.com.key;error_page 497 https://$hos...
-
关于 no live upstreams while connecting to upstream 的问题
nginx 报错:no live upstreams while connecting to upstream看提示就是后端没有存活的 server,用的是 upstream 的默认配置没有手动指定 mai_fails 和 fail_timeout后端服务器为 2 台 nginx+php 的应用,所有服务器都调整过最大进程数和最大文件打开数,且后端 2 台机器没有 http500 错误...
-
请教一个 NGINX 问题,部分路径请求 http://127.0.0.1:3000,其他未定义路径访问都请求线上的服务器环境
标题有限,写的不太情况,这里举例说下。。有个测试服务器,IP 是 172.16.0.8,想通过绑定 host 的方式访问该服务器,比如:127.16.0.8 www.abc.com该测试服务器通过 NGINX 来国外服务器反向代理到本机的 http://127.0.0.1:3000 环境这里需求有些不常见,期望的访问效果,举例如下:1、访问自定义路径 http://www.abc.co...
-
nginx 中在 proxy_pass 的 url 后面加/的问题
我希望用 /auth/api/values 访问 /api/values,但是按照下面配置是返回的是 nginx 的默认界面server { listen 80; server_name xxx.xxx.xxx.xxx;...
-
nginx 日志中为啥有很多 favicon.icon 请求问题
日志类似这样47.88.135.135 - - [02/Sep/2019:03:31:22 -0400] "HEAD /favicon.ico HTTP/1.1" 404 0 "-" "-"47.74.138.142 - - [02/Sep/2019:03:31:24 -0400] "HEAD /favicon.ico HTTP/1.1" 404 0 "-" "-"47.254.113...
-
基于 quiche 的 Nginx HTTP/3 补丁
https://blog.cloudflare.com/experiment-with-http-3-using-ngin抗投诉服务器x-and-quiche/可惜只支持 1.16.*你能使用吗?我添加了补丁,也配置好了 NGINX,但是 NGINX 根本没有监听 443UDP...
-
nginx 也能实现内网打洞 ?
https://jerrington.me/posts/2019-01-29大带宽服务器-self-hosted-ngrok.html这是怎么实现的,我看不明白。ngrok 能,nginx 不能。。。...