All files from this thread

File Name File Size   Posted by Date  
error.txt 83.5 KB open | download Jim Ohlstein 05/03/2009 Read message
patch.fastcgi_cache 535 bytes open | download Igor Sysoev 05/04/2009 Read message
May 03, 2009 12:34AM
On Sat, May 02, 2009 at 11:16:47PM -0400, Jim Ohlstein wrote:

> Correction:
>
> The question should read:
>
> Do I need to use two fastcgi_cache_key settings if a site serves both http and https?

If you use the same backend - no:

server {
listen 80;
location / {
fastcgi_pass backend:9000;
fastcgi_cache_key backend:9000$request_uri;
}
}

server {
listen 443;
location / {
fastcgi_pass backend:9000;
fastcgi_cache_key backend:9000$request_uri;
}
}


--
Igor Sysoev
http://sysoev.ru/en/
Subject Author Posted

nginx serving wrong website under proxy_cache

Payam Chychi April 28, 2009 10:27PM

Re: nginx serving wrong website under proxy_cache

Payam Chychi April 28, 2009 10:55PM

Re: nginx serving wrong website under proxy_cache

Igor Sysoev April 29, 2009 01:49AM

Re: nginx serving wrong website under proxy_cache

Payam Chychi April 29, 2009 02:40AM

Re: nginx serving wrong website under proxy_cache

Igor Sysoev April 29, 2009 02:44AM

Re: nginx serving wrong website under proxy_cache

Jim Ohlstein May 02, 2009 11:12PM

Re: nginx serving wrong website under proxy_cache

Jim Ohlstein May 02, 2009 11:16PM

Re: nginx serving wrong website under proxy_cache

Igor Sysoev May 03, 2009 12:34AM

Re: nginx serving wrong website under proxy_cache

Jim Ohlstein May 03, 2009 01:18AM

Re: nginx serving wrong website under proxy_cache

Igor Sysoev May 03, 2009 01:29AM

Re: nginx serving wrong website under proxy_cache

Jim Ohlstein May 03, 2009 02:05AM

Re: nginx serving wrong website under proxy_cache

Igor Sysoev May 03, 2009 02:44AM

Re: nginx serving wrong website under proxy_cache

Jim Ohlstein May 03, 2009 03:15AM

Re: nginx serving wrong website under proxy_cache

Igor Sysoev May 03, 2009 03:28AM

Re: nginx serving wrong website under proxy_cache Attachments

Jim Ohlstein May 03, 2009 03:55PM

Re: nginx serving wrong website under proxy_cache

Payam Chychi May 03, 2009 04:21PM

Re: nginx serving wrong website under proxy_cache Attachments

Igor Sysoev May 04, 2009 02:46PM

Re: nginx serving wrong website under proxy_cache

alamgir99 May 04, 2009 11:45AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 141
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready