Getting 500 nginx error for my BTCPay installed on a local server https and for http (BTCPay is expecting you to access this website from)

question

#1

#2

Solved by @nicolasdorier in first post.