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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en.