Anton Gorlov
December 06, 2011 02:42AM
06.12.2011 11:34, Sergey Biryuzov пишет:
> указываю директиву
> location ~* \.php$ {
> proxy_pass http://127.0.0.1:81/;
> }
> nginx выдает ошибку
> Restarting nginx: [emerg]: "proxy_pass" may not have URI part in
> location given by regular expression, or inside named location, or
> inside the "if" statement, or inside the "limit_except" block in
> /etc/nginx/sites-enabled/rexer:36
>


proxy_buffering on;

proxy_buffer_size 32k;
proxy_buffers 16 16k;
proxy_busy_buffers_size 64k;
proxy_temp_file_write_size 64k;

proxy_pass http://127.0.0.1;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
set_real_ip_from xx.zz.yy.41;
real_ip_header X-Real-IP;

_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

basic авторизация не работает php

Sergey Biryuzov December 05, 2011 02:01PM

Re: basic авторизация не работает php

Aleksandr Sytar December 05, 2011 02:14PM

Re: basic авторизация не работает php

Sergey Biryuzov December 06, 2011 02:09AM

Re: basic авторизация не работает php

Anton Gorlov December 06, 2011 02:22AM

Re: basic авторизация не работает php

Sergey Biryuzov December 06, 2011 02:34AM

Re: basic авторизация не работает php

Anton Gorlov December 06, 2011 02:42AM

Re: basic авторизация не работает php

Craken December 06, 2011 05:34AM

Re: basic авторизация не работает php

Sergey Biryuzov December 06, 2011 06:01AM

Re: basic авторизация не работает php

Валентин Бартенев December 06, 2011 05:44AM

Re: basic авторизация не работает php

Craken December 06, 2011 01:57PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 117
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready