ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.