Is there any way to serve both HTTP and HTTPS?

Same here, can you paste here your ngix config?

Old thread, but I ran into this today, and mention it just in case it’s useful to someone… The method I used was put http on port 8123 and use stunnel4 to listen for the https connection on port 8443 (and pass those requests through to 8123). Stunnel4 is configured with certificate from Letsencrypt.

1 Like