...
Code Block |
---|
server { listen 8701 ssl; server_name wallets; ssl_certificate /etc/letsencrypt/live/yourcasdomain.com/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/yourcasdomain.com/privkey.pem; location / { proxy_pass https://10.3.2.1:7743/api/v1/crypto-wallets/; access_log /var/log/nginx/wallets_access.log; error_log /var/log/nginx/wallets_error.log; } } |
Change the
ssl_certificate
settings to point to your actual certificate files.Save the server block in a file, e.g.
/etc/nginx/conf.d/wallets.conf
and restart NGINX.This server block will expose the PDF wallets at https://yourcasdomain.com:8701
Open up port 8701 in your firewall, and direct your DNS record (for a subdomain) to that port.
...