Re: [web2py] Multiple domains nginx/uwsgi?

2018-04-23 Thread Richard Vézina
The most complicated part is to properly craft the OpenSSL command to
properly get you SSL certificate to be signed, but if you use Lets Encrypt,
I guess it easier then... I answer an other thread recently with the
command that I had use for multiple subdomain certificate, that I had work
an lot of time to work around the issue existing at the time with OpenSSL
as there were some kind of bug that wasn't fix for a long time...

In uwsgi, you mostly go there only to tweak the config for performance...

If you use only one certificate for multiple subdomain and you are not the
only one using the sites, I guess you better read about how manage security
related to such kind of deployment.

Richard



On Mon, Apr 23, 2018 at 7:20 PM, pbreit  wrote:

> I was thinking something like that. I occasionally run across the uwsgi
> "vassals" thing and was wondering if I should be doing that.
>
> Just started using Lets Encrypt (with Digital Ocean HowTo) which seems to
> be working OK. Will see upon renewal. Thx.
>
> --
> 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.
>

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


Re: [web2py] Multiple domains nginx/uwsgi?

2018-04-23 Thread pbreit
I was thinking something like that. I occasionally run across the uwsgi 
"vassals" thing and was wondering if I should be doing that.

Just started using Lets Encrypt (with Digital Ocean HowTo) which seems to 
be working OK. Will see upon renewal. Thx.

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


Re: [web2py] Multiple domains nginx/uwsgi?

2018-04-23 Thread Richard Vézina
It depends, are you going to have SSL certificates??, 1 or multiples?? If
you reuse the same I suggest  you configure your different site with
individual subdomain name and create a single certificate for all the
subdomain. If you have single certificate, so multiple certificate for same
IP, you will need to look on the side of SNI SSL cerficiates and how to
create those... Once the SSL part is done it pretty straigh foward to
configure nginx, you almost basically just copy/paste your server block and
adapt it with particular certificates locations and url parsing...

Richard

On Mon, Apr 23, 2018 at 3:36 PM, pbreit  wrote:

> What's the current advice on running multiple domains on one server having
> setup with this script:
> https://github.com/web2py/web2py/blob/master/scripts/
> setup-web2py-nginx-uwsgi-ubuntu.sh
>
> --
> 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.
>

-- 
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] Multiple domains nginx/uwsgi?

2018-04-23 Thread pbreit
What's the current advice on running multiple domains on one server having 
setup with this script:
https://github.com/web2py/web2py/blob/master/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh

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