Hi, I've downloded the web2py framework again, and it works, but I don't 
know if I have a bad configuration, because, when i try the project as 
stand alone with no server configuration it works, but when I tried to put 
on line with nginx, It shows me a ssl error.

Here is my configuration file from NGNX

server {
listen 80 default_server;
listen [::]:80 default_server ipv6only=on;
    root /usr/share/nginx/html;
    index index.html index.htm;

    server_name localhost;
    location ~* /(\w+)/static/ {
        root /home/carlos/Documents/dtt_src/web2py/applications/;
    }
    location / {
        include uwsgi_params;
        uwsgi_pass unix:/home/carlos/Documents/dtt_src/web2py.sock; 
uwsgi_read_timeout 300;
    } 
}

# HTTPS server
#
server {
#
#
listen 443;
server_name localhost;
root html;
index index.html index.htm;
#ssl on;
ssl_certificate /home/carlos/Documents/dtt_src/web2py/myapp.crt; 
ssl_certificate_key /home/carlos/Documents/dtt_src/web2py/myapp.key; 
ssl_session_timeout 5m;
ssl_protocols SSLv3 TLSv1 TLSv1.1 TLSv1.2;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers "HIGH:!aNULL:!MD5 or HIGH:!aNULL:!MD5:!3DES";
ssl_prefer_server_ciphers on;
location / {
try_files $uri $uri/ =404;
include uwsgi_params;
uwsgi_pass unix:/home/carlos/Documents/dtt_src/web2py/web2py.sock;
        uwsgi_read_timeout 300;
} 
}


And here is the error the browser showed me

length. Error code: SSL_ERROR_RX_RECORD_TOO_LONG 

Regards

El viernes, 7 de diciembre de 2018, 4:04:38 (UTC-6), 黄祥 escribió:
>
> tried recently ubuntu 18.04 with the web2py latest version the scripts is 
> no longer work, need update
> perhaps you can share the error log (nginx) ?
>
> best regards,
> stifan
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to