Nginx only serves 1 App
moshe at ymkatz.net
Thu May 24 01:28:46 UTC 2018
Here's how you would do it:
First, run this command (substituting your example of `new.page.com` for
any other new domain):
certbot certonly --webroot -w /usr/share/nginx/html -d new.page.com
*Note that the "webroot" directory is the same for ALL sites here, because
After certbot has run successfully, copy the configuration in one of the
other per-site files (right now "cloud.conf" and "chat.conf") and modify it
The reason this works is that the configuration section I linked to above
sends all certbot verification requests to the same directory no matter
what site they are destined for.
Hope that makes sense.
On Wed, May 23, 2018 at 4:15 PM Nginx-Chris <nginx-forum at forum.nginx.org>
> I mean how would the nginx config for new.page.com look like?
> Posted at Nginx Forum:
> nginx mailing list
> nginx at nginx.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx