Edit /etc/nginx/sites-enabled/cloudkey-webui to move the listen 443
to listen 1443
Add the following server block to the nginx config:
server {
listen [::]:443 ssl ipv6only=off;
ssl_protocols TLSv1.2;
ssl_certificate /root/.acme.sh/controller.infra.home.a-rwx.org/controller.infra.home.a-rwx.org.cer;
ssl_certificate_key /root/.acme.sh/controller.infra.home.a-rwx.org/controller.infra.home.a-rwx.org.key;
location / {
proxy_pass https://localhost:8443;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header Host $host;
}
}