Would need to fill in with some of your own info (will rewrite this to use env var from a .env file soon) but this has worked for me.

https://github.com/UTXOnly/nost-py/blob/main/prepare_server.py

Reply to this note

Please Login to reply.

Discussion

Incredibly helpful, didn't know I can do certbot in one line without going thru interactive prompt

This line just saved me many hours potentially, thank you

Great! I also wrestled with a bunch of hacks trying to get this to work before I discovered the non-interactive flag