Skip to content
WJunction - Webmaster Forum

How do you put ads in a reverse proxy site?

Status
Not open for further replies.

2 comments

hey bro

you can use nginx sub_filter module

example

Code:
sub_filter '</body>' '<script type="text/javascript" src="//url.to.my.js"></script></body>';

place this code @ the location block
 
Status
Not open for further replies.

About the author

R
Active Member · Joined
821
Messages
49
Reactions
28
Points

Advertise on WJunction

Reach 1000's of webmasters, hosts & affiliates. Banner & sponsored-thread slots available.

Contact us
Back
Top Bottom