Page 1 of 1

Allow seperate SSL certificate requests through port 80 on NPMPLUS

Posted: Sun Jan 11, 2026 4:31 am
by proxmoxer
If you have NPMPLUS and let it handle the ssl certificates for your domain, then it is quite tricky to let a subdomain on an other server handle its own ssl certificates (with certbot).

To solve this problem, in the Edit Proxt Host section...

Go to Advanced and add following:

Code: Select all

rewrite ^(/.well-known/acme-challenge/.*)$ /internal$1 last;

location ~ ^/internal(/.well-known/acme-challenge/.*)$ {
  proxy_pass http://$server$1;
}
Of course, you are pointing your subdomain here to http://ip:80

TLS set to NONE.

Access list to publicly accessible.

Nothing in custom locations.

Re: Allow seperate SSL certificate requests through port 80 on NPMPLUS

Posted: Fri Jul 31, 2026 12:00 am
by proxmoxer
The above one doesn't seem to work too well anymore, but this work

Code: Select all

rewrite ^(/\.well-known/acme-challenge/.*)$ /internal$1 last;

location ~ ^/internal(/\.well-known/acme-challenge/.*)$ {
    proxy_set_header Host $host;
    proxy_pass http://192.168.1.201:80$1;
}
You just need to add ur ip properly