Re: [web2py] Re: https causes site to be in text

2016-12-05 Thread Dave S
On Monday, December 5, 2016 at 7:24:37 AM UTC-8, peter wrote: > > I was pretty stumped as to how to go about solving the problem, so the > support I got was great. > > Putting > > location ~* /(\w+)/static/ { > root /opt/web2py_apps/web2py/applications/; > } > > > in

Re: [web2py] Re: https causes site to be in text

2016-12-05 Thread peter
I was pretty stumped as to how to go about solving the problem, so the support I got was great. Putting location ~* /(\w+)/static/ { root /opt/web2py_apps/web2py/applications/; } in the 'listen 443' just as it is in the 'listen 80' section did indeed solve the prob

Re: [web2py] Re: https causes site to be in text

2016-12-01 Thread Brian M
The web server block for https probably needs all the same locations and error pages and such as the http server block has for the site to act the same. If those rules created identify the locations of items for the web server allow it to work in http, it only makes sense that the same rules sh

Re: [web2py] Re: https causes site to be in text

2016-12-01 Thread peter hutchinson
In my nginx.conf I have . server { listen 80 default_server; listen [::]:80 default_server; server_name explorejazz.com; root /usr/share/nginx/html; # Load configuration files for the default server block. include /

[web2py] Re: https causes site to be in text

2016-12-01 Thread Dave S
On Thursday, December 1, 2016 at 12:23:26 AM UTC-8, Dave S wrote: > > > > On Tuesday, November 29, 2016 at 9:35:10 AM UTC-8, peter wrote: >> >> In my routes.py I have >> >> routes_in = ((r'.*://spinjazz.net:\w* /static/$anything', >> r'/new_spin2/static/$anything'), >> >> presumably this is rout

[web2py] Re: https causes site to be in text

2016-12-01 Thread Dave S
On Tuesday, November 29, 2016 at 9:35:10 AM UTC-8, peter wrote: > > In my routes.py I have > > routes_in = ((r'.*://spinjazz.net:\w* /static/$anything', > r'/new_spin2/static/$anything'), > > presumably this is routing only http correctly can anyone tell me how I > can get it to work for https

[web2py] Re: https causes site to be in text

2016-11-29 Thread peter
In my routes.py I have routes_in = ((r'.*://spinjazz.net:\w* /static/$anything', r'/new_spin2/static/$anything'), presumably this is routing only http correctly can anyone tell me how I can get it to work for https Thanks Peter -- Resources: - http://web2py.com - http://web2py.com/book (Docu

[web2py] Re: https causes site to be in text

2016-11-29 Thread peter
Thanks Leonel I am not missing the http equivalents, so where is routing different for https to http in web2py? Peter On Tuesday, 29 November 2016 17:05:35 UTC, Leonel Câmara wrote: > > You are missing a bunch of files > > (index):19 GET https://spinjazz.net/new_spin2/static/js/jquery.js > (i

[web2py] Re: https causes site to be in text

2016-11-29 Thread Leonel Câmara
You are missing a bunch of files (index):19 GET https://spinjazz.net/new_spin2/static/js/jquery.js (index):19 GET https://spinjazz.net/new_spin2/static/css/calendar.css (index):19 GET https://spinjazz.net/new_spin2/static/js/calendar.js (index):19 GET https://spinjazz.net/new_spin2/static/js/we

[web2py] Re: https causes site to be in text

2016-11-29 Thread Marlysson Silva
Try look in link reference css files.. put https maybe.. Em terça-feira, 29 de novembro de 2016 12:47:37 UTC-3, peter escreveu: > > I have a site written in web2py, spinjazz.net. It works fine. I have > bought an ssl certificate for the site, which works. However when I access > the site via htt