Do you use Nginx with Apache or only Nginx? I tried to manage Nginx (as 
frontend for statics files) + Apache (for python) without success yet.
Alex F

El 22/12/2009 9:35, shuval escribió:
> http://istt-nsk.ru  csstemplate in freecsstemplates.org spontaneous. I
> managed site T3 application. Database is Fiebird ( I changed in
> controllers/default.py and modules/t2.py field password to
> passwordq).
>
> nginx.conf
>
> server {
>          listen       istt-nsk.ru:80;
>          server_name  istt-nsk.ru;
>          access_log  /var/log/nginx/
> balder161.startdedicated.com.access.log;
>          location / {
>          set $fixed_destination $http_destination;
>          if ($http_destination ~* ^https(.*)$)
>          {
>          set $fixed_destination http$1;
>          }
>          proxy_pass http://127.0.0.1:8000;
>          proxy_set_header Host $host;
>          proxy_set_header X-Real-IP $remote_addr;
>          #           proxy_set_header X-Forwarded-For
> $proxy_add_x_forwarder_for;
>          proxy_set_header X-Forwarded-For $remote_addr;
>          proxy_set_header        Destination     $fixed_destination;
>          }
> }
>
>
> It is very interesting. It is work!)
>
> --
>
> You received this message because you are subscribed to the Google Groups 
> "web2py-users" group.
> To post to this group, send email to web...@googlegroups.com.
> To unsubscribe from this group, send email to 
> web2py+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/web2py?hl=en.
>
>
>
>    

-- 
Alejandro Fanjul Fdez.
alex.fan...@gmail.com
www.mhproject.org

--

You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.


Reply via email to