-
Decide what your βdevβ domain will be (distinct to your prod domain). - already defined, oh2.domain.net is my working Prod domain. automate.nsautomate.com.au is my Dev Domain
-
Clone the port 80 and port 443
server
blocks on your prod nginx, changing theserver_name
to your dev domain, and changing the proxy IP address to your dev OpenHAB. - Got it, I think i can do that -
Issue a Certbot certificate on your prod server for your dev domain. - AHH! Right, so I put NEW certs onto my Prod server
-
Update the dev
server
block to use the dev domain certificate. - Roger
OK, ill back up my Prod configuration and give this a go
Thank you! ill report back