![]() ![]() Include /etc/letsencrypt/nf # managed by CertbotĪfter a bunch of trial and error the configuration below is finally how I got the web socket errors to stop. Ssl_certificate_key /etc/letsencrypt/live//privkey.pem # managed by Certbot ![]() Ssl_certificate /etc/letsencrypt/live//fullchain.pem # managed by Certbot Ssl_trusted_certificate /etc/nginx/ssl/unifi/unifi-default-selfsign.pem # Unifi still internally uses its own cert. Proxy_set_header X-Forward-For $proxy_add_x_forwarded_for # Needed to allow the websockets to forward well. ![]() # The unifi default port is 8443 running on localhost. ![]() # I had a bit of trouble getting my unifi controller (hosted offsite) to use a proxy/letsencrypt.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |