[web2py] Re: Help with deploy with nginx and ubuntu 18.04

2018-12-08 Thread carlos valdez
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.


[web2py] Problem in Ubuntu 18.04

2018-12-06 Thread carlos valdez
Hi, I have the next problem trying to running web2py, the problem is, I've 
a old project, the guys used 2.9 framework, I'm trying to run it in 
ubutuntu 18.04, It seems to work but when I access to de url 
https://127.0.0.1/, it shows me an error, but, I can't see the error, 
becouse when I try to see the ticket, It shows me a new error, I  tryed to 
look in logs, but no logs are generated, I'm a newie, I need some help, 
because I don't know what to do.

Thanks


-- 
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.


[web2py] Help with deploy with nginx and ubuntu 18.04

2018-12-06 Thread carlos valdez
Hi, I'm a noob with web2py, I need some help, because I'm trying to put a 
site online, for a old project developed in web2py 2.9.5.

I need use nginx as a app server, I know I need to use uwsgi, but I'm a 
little confused with the configuration.

I used the script  setup-web2py-nginx-uwsgi-ubuntu.sh, but it didn't work.

Thanks in advance

Regards

-- 
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.