<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>18.11.2009, Χ 7:59, Sheh ΞΑΠΙΣΑΜ(Α):</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">worker_processes 1;<br>pid logs/nginx.pid;<br><br>events {<br> worker_connections 1024;<br>}<br><br>http {<br> include mime.types;<br> default_type application/octet-stream;<br> sendfile on;<br> keepalive_timeout 65;<br><br> server<br> {<br> listen 80;<br> server_name localhost;<br> sub_filter<span class="Apple-converted-space"> </span><a href="http://server">http://server</a>-db/ http://87.241.*.*/;<br> sub_filter_once off;<br> sub_filter_types text/xml text/css text/javascript;<br><br> location /<br> {<br> proxy_pass<span class="Apple-converted-space"> </span><a href="http://192.168.2.2">http://192.168.2.2</a>;<br></span></blockquote>+ proxy_set_header Host $host;<div>+ proxy_set_header X-Real-IP $remote_addr;</div><div>+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;</div><blockquote type="cite"> }<br><br> error_page 500 502 503 504 /50x.html;<br> location = /50x.html<br> {<br> root html;<br> }<br> }<br></blockquote></div><br></body></html>