Re: set arbitrary http header?
Ah, so, we have this line:proxy_set_header X-Real-IP $remote_addr;Is there a list of the variables similar to $remote_addr somewhere?Is $proxy_host possibly what we need?
View Articlenginx and pseudostreaming with embedded perl and proxy
Hi there,i've the following setup:nginx as proxy in front of a central "storage" server who holds moviesand pictures. So if a user requests some stuff, the proxy module fetchesit from the central...
View ArticleRe: set arbitrary http header?
On Fri, Feb 01, 2013 at 02:44:17PM -0500, zacharyalexstern wrote:> Ah, so, we have this line:> proxy_set_header X-Real-IP $remote_addr;http://nginx.org/r/proxy_set_header for details.> Is...
View ArticleRe: set arbitrary http header?
I'd like nginx to set a header that contains the IP address of the server nginx is running on.So something like:proxy_set_header X-Nginx-IP $proxy_host;Assuming $proxy_host evaluates to the IP of the...
View ArticleRe: реврайт в подпапку
> Такой код работает> rewrite ^/files/products/(.+) /index.php;> но такой> rewrite ^/files/products/(.+) /resize/index.php;> уже не хочет. У кого какие мыли ?Мысли у нас такие, что...
View ArticleRe: $upstream_http_* variables exist but do not seem to be readable
Hello!On Fri, Feb 1, 2013 at 6:48 AM, Maxim Dounin wrote:>> set_by_lua $use_token>> '>> if not ngx.var.sent_http_csrf == "" then>> return ngx.var.upstream_http_csrf>>...
View ArticleRe: set arbitrary http header?
On Fri, Feb 01, 2013 at 02:57:00PM -0500, zacharyalexstern wrote:> I'd like nginx to set a header that contains the IP address of the server> nginx is running on.There is (almost certainly) not...
View ArticleRe: set arbitrary http header?
There are several nodes in between nginx and apache. It's not internet -> nginx -> apache.It's internet -> nginx -> varnish -> haproxy - > apache1- > apache2- > apacheNSo far,...
View ArticleRe: Too Many Redirects
On Fri, Feb 01, 2013 at 10:38:37AM -0500, billmanhillman wrote:> Proxy Pass is causing to many redirects when web.xml is upshifting to SSL> via security-constraint. It seems like tomcat doesn't...
View ArticleRe: I am really stuck.
i'm not sure what's with that configuration file, because you didn't specified if you installed fastcgianywayno matter what Distribution you use, you should follow this tutorialit's great
View Articleipv6 help please
this weekend i added to my VPS some ipv6 address, so of course i wanted to use them on my sitesanywayi changed in my domain configfromlisten 80;tolisten [::]:80;after i tried to restart nginx i got...
View ArticleRe: реврайт в подпапку
Я добавлял в index.php сценарий с простым созданием файла - можно отверждать, что не работаетЧто вы подразумеваете под более прямыми путями ?
View ArticleRe: WordPress: Need help with cookie checking directive for Cookies For...
maybe this will helphttp://stackoverflow.com/questions/3542149/check-the-existence-of-a-session-nginx
View ArticleRe: FastCGI: comm with server "/usr/lib/cgi-bin/php5-fcgi" aborted: idle...
Great! now I just need to find out why or what is causing php-fpm to eat upmy CPU so much.JohnOn Friday, February 1, 2013 7:31:29 AM UTC-5, Felipe Braz wrote:>> Use -idle-timeout paramater on...
View ArticleRe: реврайт в подпапку
> Я добавлял в index.php сценарий с простым созданием файла - можно> отверждать, что не работаетМожно утверждать, что не работает тот конфиг, что Вы написали. Арерайты работают оба, инфа 100%>...
View ArticleRe: Too Many Redirects
I created another HTTP/1.1 connector in tomcat listening on another port 8443. I then separated the server settings in nginx for both http and https.I had the http server def proxy_pass to...
View Article答复: nginx 411 error
thanks all ,I will upgrade to nginx 1.3.x.________________________________________发件人: nginx-bounces@nginx.org [nginx-bounces@nginx.org] 代表 Axel [ar@xlrs.de]发送时间: 2013年1月31日 0:15到: nginx@nginx.org主题:...
View ArticleRe: request was rejected because its size (3277304) exceeds the configured...
Thanks for the reply...Is there any settings in tomcat for enabling File upload or file limit.As i tested the same on my windows machine with same setup and no blank page is displaying.....It just show...
View ArticleRe: Too Many Redirects
On Fri, Feb 01, 2013 at 07:27:31PM -0500, billmanhillman wrote:Hi there,> I created another HTTP/1.1 connector in tomcat listening on another port> 8443. I then separated the server settings in...
View Article