Hi agentzh, Thanks for the response. It is not happening on my uat site as I have redone the configuration and tested with the full setup. However it happened on my try out setup where I did not want image/* content-type to be cached. 2013/06/12 15:51:43 11016#0: *19 key: "%252fsanta.jpg" was not found by memcached while reading response header from upstream, client: 192.168.0.61,by n1xman - Nginx Mailing List - English
Hi agentzh, Thanks for the support and it is working :) However, I have noticed every srcache_fetch GET /memc subrequest hits the memcached even though srcache_store skipped content-type which is not defined. This will keep busy the memcached server and I think srcache_fetch GET subrequest should not executed if srcache_store_skip triggered first. Or am I missing something here... mapby n1xman - Nginx Mailing List - English
Hi, I’m using ngx_srcache module with Memcached to cache static contents of the upstream servers. This is based on static file extensions. Now I need to cached them by looking at Content-Type of the header to cache .html pages as we do not use the .html extension. (i.e. http://www.example.com/this-is-my-site ) Is this possible with ngx_srcache module using map module or something similar..by n1xman - Nginx Mailing List - English
Hi, I have the same issue and would like to find a solution. This is in production so couple of 3rd party module compiled. This happens when we reload the nginx config. # ps -ef | grep nginx root 10163 1 0 Feb08 ? 00:00:00 nginx: master process /usr/sbin/nginx -c /etc/nginx/nginx.conf nginx 14434 10163 0 06:39 ? 00:00:00 nginx: worker process is shutting down ngby n1xman - Nginx Mailing List - English
OK, It my bad. I checked with Origin request header and its working. :) Thanks 姚伟斌 for the nice module and it works with nginx-1.2.1 too :)by n1xman - Nginx Mailing List - English
Hi, We are trying to implement cross origin resource sharing protocol on our system. I just want to try nginx_cross_origin_module and see how it work instead of add_header approach. The issue is I can't see the CORS headers on the response headers. Here is my config. user nginx; worker_processes 1; error_log /usr/local/nginx/logs/error.log info; pid /var/run/nginx.pid;by n1xman - Nginx Mailing List - English
Hello, We are trying to use nginx_tcp_proxy_module for WebSocket with the back-end CometD/Jetty. Direct CometD exposed to public is working fine and it goes with WebSocket but through nginx the transport switch to long-poll after throwing above error. Following is the request-response headers I see while trying to establish the WebSocket connection. GET /CometServer/cometd HTTP/1.1 Upgrade:by n1xman - Nginx Mailing List - English
Hi 姚伟斌, With the latest code, I was managed to compile both modules together without any issue. Thanks for the modules and great support. :)by n1xman - Nginx Mailing List - English
Hi 姚伟斌, We have tested it on test environment and it is working now; and thanks to you! :) However, in our test environment we also wanted to test nginx_tcp_proxy_module for WebSocket. We have noticed upstream server health check and status monitor bundle to the nginx_tcp_proxy_module. Can you tell if we compile nginx_tcp_proxy_module, we can drop the nginx_http_upstream_check_moby n1xman - Nginx Mailing List - English
Hi 姚伟斌, Thanks for the update and it is noted. However, why we would like to use sticky instead of ip_hash or upstream_fair as we want to make sure persistence browser (using cookie) instead of client connecting IP as sometimes they are behind proxies.by n1xman - Nginx Mailing List - English
Thanks Jerome, We will hold the nginx_http_upstream_check module until resolve this. This module is really important for us as we use multiple Cometd instances successfully. The only issue is sometimes the Cometd service is not functional but the jboss port is listing. http://code.google.com/p/nginx-sticky-module/issues/detail?id=22 Thanks in advanceby n1xman - Nginx Mailing List - English
Hi, We use nginx-sticky-module for session persistence and we planned to use nginx_http_upstream_check_module for to check the upstream service health. Scenario: We expect nginx_http_upstream_check_module to check the service (return 2xx|3xx) and take it out from the upstream pool if the "service" is not responsive. And nginx-sticky should respect the decision taken by nginx_http_uby n1xman - Nginx Mailing List - English
Hi 姚伟斌, Yes, I have already compiled and it is work fine with the patch. Thanks for the module and we can live with this.by n1xman - Nginx Mailing List - English
Hello, I have the same problem and have you find a solution for this..? I hope developer will update the patch and continue to release going forward. Thanks in advance.by n1xman - Nginx Mailing List - English
Hi agentzh, Thanks for the quick response. I have recompiled with the latest ngx_srcache and now it is working without any error. Thanks again for the support and this is brilliant piece of module for nginx and we loving it. n1xmanby n1xman - Nginx Mailing List - English
I need little help here. First time browsing or memcached restart will show you the data correctly; but when you refresh second time and it will gives you content encoding error and I think it is something to do with my nginx or ngx_srcache config for fetching data from memcached. I checked using Wireshark from the client-end and found nginx sending uncompressed data and I can see the Accept-encodby n1xman - Nginx Mailing List - English
Thanks agentzh, you rock! It is working now :) Thanks for the quick support, it is really appreciated.by n1xman - Nginx Mailing List - English
Hi agentzh, Thanks for helping me out. I build a fresh setup and enabled the debug and followings are the details. nginx.debug -V nginx: nginx version: nginx/1.0.9 nginx: built by gcc 4.1.2 20080704 (Red Hat 4.1.2-48) nginx: TLS SNI support disabled nginx: configure arguments: --prefix=/etc/nginx/ --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/ngby n1xman - Nginx Mailing List - English
Hi, I can't store data while I'm using proxy_pass to connect to the backend if we can't find data on the memcached. srcache_fetch probes the memcached but since no data, it connect to the backend and get the correct data but not executing the srcache_store. Here is my config. location /memc { internal; memc_connect_timeout 500ms; # 500 milisecondsby n1xman - Nginx Mailing List - English
Hi, We need to cache images while reverse proxy with the following settings. location /foo { proxy_pass http://www.example.com/foo; proxy_set_header X-Real-IP $remote_addr; if ($request_uri ~* \.(jpg|gif)$) { expires 60d; add_header Cache-Control private; } .... This is working if we use it without reverse proxy. Iby n1xman - Nginx Mailing List - English
![]() |
![]() |
![]() |
![]() |
![]() |