Do you know how to configure nginx to expose the admin interface
through https?

On Dec 22, 10:35 am, shuval <maxshuva...@futcom.ru> wrote:
> 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_passhttp://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.


Reply via email to