xujpxm

Results 8 comments of xujpxm

支持backup,+1@ @xiaokai-wang

打算用这个主题,但是目录体验确实很差,希望作者能改进下,多谢~

#193 参考配置建议后,使用include 命令,并在upstream中去除fake server,解决此问题。

添加backup server时,依然会有core dumped的报错,配置示例如下: upstream test { upsync 127.0.0.1:8500/v1/catalog/service/test upsync_timeout=6m upsync_interval=500ms upsync_type=consul_services strong_dependency=off; upsync_dump_path /usr/local/openresty/nginx/conf/servers/servers_test.conf; include /usr/local/nginx/conf/servers/servers_test.conf; server 127.0.0.1:8080 bakcup; }

nginx version: openresty/1.15.8.3 built by gcc 4.4.7 20120313 (Red Hat 4.4.7-18) (GCC) built with OpenSSL 1.1.1k 25 Mar 2021 TLS SNI support enabled configure arguments: --prefix=/usr/local/openresty/nginx --with-debug --with-cc-opt='-DNGX_LUA_USE_ASSERT -DNGX_LUA_ABORT_AT_PANIC -O2...