Allow seperate SSL certificate requests through port 80 on NPMPLUS

Post Reply
proxmoxer
Posts: 7
Joined: Sun Apr 06, 2025 9:31 pm

Allow seperate SSL certificate requests through port 80 on NPMPLUS

Post 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.
Post Reply