Welcome! Log In Create A New Profile

Advanced

do not want to work add_after_body

Posted by setter 
do not want to work add_after_body
July 20, 2011 08:01AM
In the bottom of the page just simply do not cling to the module HttpAdditionModule connected. I tried to specify any page as proxy_pass, nothing connects.
With add_before_body slightly different story, it simply replaces the page to the one shown in proxy_pass.
What does he want? Help please ...

location = /after_action {
proxy_pass http://127.0.0.1:81/help.html;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
location / {
...
add_after_body /after_action;
...
}
Re: do not want to work add_after_body
July 20, 2011 02:05PM
version nginx 1.0.5
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 164
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