Hi Moshe This works absolutely perfect. Thank you so much for letting me (us) know how to use the config arrangement. Let me summarize the steps also for other users that might stumble over this thread (and please feel free to correct/improve if required). After performing the certbot command that you provided above the certificates were produced. Then I added the Website folder for neby Nginx-Chris - Nginx Mailing List - English
I mean how would the nginx config for new.page.com look like?by Nginx-Chris - Nginx Mailing List - English
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 certifiby Nginx-Chris - Nginx Mailing List - English
Here is what makes everything work ok: In the cloud.conf (Seafile) I deleted the "http2" in the server part that listens on port 80 and redirects. It looks like this now: server { listen 80; listen [::]:80; server_name cloud.mydomain.com; rewrite ^ https://$http_host$request_uri? permanent; # force redirect http to https # Enables or disby Nginx-Chris - Nginx Mailing List - English
The config that you propose does not require to switch nginx off for letsencrypt refreshs, correct?by Nginx-Chris - Nginx Mailing List - English
Thanks a lot Moshe for all the efforts. The gist is pretty cool. I will check it out and have a go with it. I will also look closer at the config: > include /etc/letsencrypt/options-ssl-nginx.conf; Maybe there is something in there that's strange. I will get back to you here in this thread.by Nginx-Chris - Nginx Mailing List - English
Dear Moshe I did switch off the seafile configuration and that means that the normal chat.mydomain.com works again with nginx., I did then do > sudo certbot --nginx and the sitechat.mydomain.com now runs on with SSL. So then I switch seafile conf on again --> Seafile works as always. AND mattermost on chat.mydomain.com works, but ONLY if I add https:// in front of the webby Nginx-Chris - Nginx Mailing List - English
Root Server with Ubuntu 16.04. Nginx Version: 1.10.3 I have an Nginx server that serves 1 Application: An open source Cloud Server from Seafile that listens on cloud.mydomain.com I now tried to add another Application to my server: A Mattermost server that should listen on chat.mydomain.com When I am adding the Nginx config for Mattermost, then it only is available when I deactivate theby Nginx-Chris - Nginx Mailing List - English
Hello, I m not getting past a 403 error on my server setup and I would be grateful for some help. Centos 7.2 VPS (Contabo) Nginx 1.10.2 Certbot 0.9.2 I have the following working Nginx config: server { listen 80; server_name seafile.example.com; rewrite ^ https://$http_host$request_uri? permanent; # force redirect http to https } serverby Nginx-Chris - How to...