Skip to content

self-hosting with tls confusion #112

Answered by aymanbagabas
nat-418 asked this question in Q&A
Discussion options

You must be logged in to vote

thanks @aymanbagabas I am going to keep fiddling with my setup and will submit a pr for the docs to include what i consider to be a pretty common use-case for self-hosters: a little vps running apache or nginx, let's encrypt, etc.

I use Docker+Traefik+Let's Encrypt in my setup, I can help with that :) I don't imagine nginx or apache to be much different really. In nginx, you could set up Let's Encrypt, SSL termination, and HTTPS/SSL on port 35354, then use proxy_pass to reverse proxy the requests to your Charm instance. For SSH port 35353, you'd just need to make sure that this port accepts incoming traffic on the VPS.

Helpful resources:
[1] https://docs.nginx.com/nginx/admin-guide/secu…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by bashbunni
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants
Converted from issue

This discussion was converted from issue #95 on April 15, 2022 19:33.