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: static + SSI + POST



, post ? ?



Dmitry Alekhin :
,

, POST c SSI include' .

, -
ssi virtual include' , .
post :
error_page 405 = @proxy_posts;
- , - ,
POST location.

static_post_on ? ?

:
location / {
ssi on;
root /var/site.com;
index index.html index.htm;
}

location = /50x.html {
root html;
}

location ~ ^/eng {
internal;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_redirect off;
# Pass request to engine
rewrite /eng(.*) /eng.php?host=$host&request_uri=$request_uri break;
proxy_pass http://127.0.0.1:9000;
}

include' -
<!--# include virtual="/eng?module=menu&parametr_menu=1" -->



 




Copyright © Lexa Software, 1996-2009.