<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Images not loading sometimes with NGINX as RP</title>
<description>Hello NGINX users and devs,

it's not the first time now, that I have the problem that some images are just not loading sometimes (only after a few refreshes, gif images in this case) with NGINX as reverse proxy. I haven't figured out yet why, I've had this problem with the old 0.x branch a few years ago, even with the default config and now I have the same problem with the 1.x branch and an advanced config with caching enabled (doesn't matter if I enable or disable it, have already tried that). Has anyone had the same problem before or has a clue why that could be?

Greetings</description><link>http://forum.nginx.org/read.php?2,223791,223791#msg-223791</link><lastBuildDate>Wed, 19 Jun 2013 12:45:03 -0400</lastBuildDate>
<generator>Phorum 5.2.16</generator>
<item>
<guid>http://forum.nginx.org/read.php?2,223791,223794#msg-223794</guid>
<title>Re: Images not loading sometimes with NGINX as RP</title><link>http://forum.nginx.org/read.php?2,223791,223794#msg-223794</link><description><![CDATA[As I said, I've also had this before with the default config. Anyway, here you go:<br /><br /><br />nginx.conf<br />-----------<br />user nginx;<br />worker_processes 6;<br />worker_rlimit_nofile 8000;<br /><br />error_log /var/log/nginx/error.log;<br /><br />pid /var/run/nginx.pid;<br /><br />events {<br />worker_connections 4096;<br />use epoll;<br />}<br /><br />http {<br />include /etc/nginx/mime.types;<br />default_type application/octet-stream;<br />open_file_cache max=60000 inactive=300s;<br />open_file_cache_valid 360s;<br />open_file_cache_min_uses 2;<br />open_file_cache_errors off;<br />server_names_hash_bucket_size 64;<br /><br />log_format main '$remote_addr - $remote_user [$time_local] &quot;$request&quot; '<br />'$status $body_bytes_sent &quot;$http_referer&quot; '<br />'&quot;$http_user_agent&quot; &quot;$http_x_forwarded_for&quot;';<br /><br />access_log /var/log/nginx/access.log main;<br /><br />client_body_temp_path /var/spool/nginx-client-body 1 2;<br />client_max_body_size 32m;<br />client_body_buffer_size 128k;<br />client_header_buffer_size 2k;<br />large_client_header_buffers 4 16k;<br /><br />server_tokens off;<br /><br />sendfile on;<br />tcp_nopush on;<br />tcp_nodelay off;<br /><br />keepalive_timeout 3;<br />keepalive_requests 10;<br />client_body_timeout 5;<br />client_header_timeout 5;<br />send_timeout 5;<br /><br />proxy_cache_path /var/cache/nginx levels=1:2 keys_zone=nginxcache:10m inactive=10m max_size=1000m;<br />proxy_temp_path /var/cache/nginx/proxy;<br />proxy_cache_key &quot;$scheme://$host$request_uri&quot;;<br /><br />gzip on;<br />gzip_http_version 1.0;<br />gzip_comp_level 1;<br />gzip_proxied any;<br />gzip_min_length 10;<br />gzip_buffers 16 8k;<br />gzip_types text/plain text/css application/x-javascript text/xml application/xml application/xml+rss text/javascript;<br />gzip_disable &quot;MSIE [1-6].(?!.*SV1)&quot;;<br />gzip_vary on;<br /><br />proxy_redirect off;<br /><br />proxy_set_header Host $host;<br />proxy_set_header X-Real-IP $remote_addr;<br />proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;<br />proxy_max_temp_file_size 0;<br /><br />proxy_connect_timeout 30;<br />proxy_send_timeout 90;<br />proxy_read_timeout 90;<br /><br />proxy_buffer_size 4k;<br />proxy_buffers 4 32k;<br />proxy_busy_buffers_size 64k;<br />proxy_temp_file_write_size 64k;<br /><br />include /etc/nginx/conf.d/*.conf;<br /><br />}<br /><br /><br />vhost.conf<br />------------<br />upstream server {<br />server 1.2.3.4:80 weight=1 fail_timeout=30s;<br />}<br /><br />server {<br />listen 80;<br />server_name .domain.com;<br />access_log /var/log/nginx/domain.com_access.log;<br />error_log /var/log/nginx/domain.com.net_error.log;<br /><br />location / {<br />proxy_pass http://server;<br />proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;<br />proxy_set_header Host $host;<br />proxy_cache nginxcache;<br />proxy_cache_valid 200 30m;<br />}<br /><br />location ~* \.(jpg|png|gif|jpeg|css|js|swf|doc|pdf|xls|ppt|docx|pptx|xlsx)$ {<br />proxy_cache_valid 200 30m;<br />expires 604800;<br />proxy_pass http://server;<br />proxy_cache nginxcache;<br />}<br /><br />}]]></description>
<dc:creator>Infinitnet</dc:creator>
<category>Nginx Mailing List - English</category><pubDate>Tue, 13 Mar 2012 09:04:48 -0400</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?2,223791,223793#msg-223793</guid>
<title>Re: Images not loading sometimes with NGINX as RP</title><link>http://forum.nginx.org/read.php?2,223791,223793#msg-223793</link><description><![CDATA[&gt; Hello NGINX users and devs,<br />&gt;<br />&gt; it's not the first time now, that I have the problem that some images<br />&gt; are just not loading sometimes (only after a few refreshes, gif images<br />&gt; in this case) with NGINX as reverse proxy. I haven't figured out yet<br />&gt; why, I've had this problem with the old 0.x branch a few years ago, even<br />&gt; with the default config and now I have the same problem with the 1.x<br />&gt; branch and an advanced config with caching enabled (doesn't matter if I<br />&gt; enable or disable it, have already tried that). Has anyone had the same<br />&gt; problem before or has a clue why that could be?<br />&gt;<br />&gt; Greetings<br /><br />In order to be able to assist you we need the config. Without it it's like<br />shooting in the dark.<br /><br /><br />--appa<br /><br />_______________________________________________<br />nginx mailing list<br />nginx@nginx.org<br />http://mailman.nginx.org/mailman/listinfo/nginx]]></description>
<dc:creator>Antonio P.P. Almeida</dc:creator>
<category>Nginx Mailing List - English</category><pubDate>Tue, 13 Mar 2012 08:56:01 -0400</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?2,223791,223791#msg-223791</guid>
<title>Images not loading sometimes with NGINX as RP</title><link>http://forum.nginx.org/read.php?2,223791,223791#msg-223791</link><description><![CDATA[Hello NGINX users and devs,<br /><br />it's not the first time now, that I have the problem that some images are just not loading sometimes (only after a few refreshes, gif images in this case) with NGINX as reverse proxy. I haven't figured out yet why, I've had this problem with the old 0.x branch a few years ago, even with the default config and now I have the same problem with the 1.x branch and an advanced config with caching enabled (doesn't matter if I enable or disable it, have already tried that). Has anyone had the same problem before or has a clue why that could be?<br /><br />Greetings]]></description>
<dc:creator>Infinitnet</dc:creator>
<category>Nginx Mailing List - English</category><pubDate>Tue, 13 Mar 2012 08:46:25 -0400</pubDate></item>
</channel>
</rss>