Nginx only serves 1 App

Nginx-Chris nginx-forum at forum.nginx.org
Wed May 23 20:14:07 UTC 2018


Hi Moshe

I wanted to come back to you again to thank you very much.

I changed my nginx config file arrangement according to your proposal on
https://gist.github.com/kohenkatz/08a74d757e0695f4ec3dc34c44ea4369#file-redirect-all-http-to-https-conf

And I think it's awesome :-)

Very well structured and works perfect.

The only thing I do not understand is how I can add letsencrypt certificates
to a new webpage.

Let's say I have a new web root in /var/www/new.page.com

If I run sudo certbot --nginx would get an error for missing certificates?
Or how would I do that.

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,279794,279934#msg-279934



More information about the nginx mailing list