Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bind to localhost only & nginx config file #31

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

twl-surrogate
Copy link

i changed the port to 8085 (tho you could make it whatever you want afterwards) and made a config file for nginx to reverse proxy and allow certbot to give ssl certificates for https

make sure nginx and certbot are installed (you might need to find a special certbot-nginx plugin in the package manager for them to work together

move nginx-example.conf to /etc/nginx/sites-enabled/ (rename it if you want)
run nginx -t to check for errors then restart nginx systemctl restart nginx (or however you restart services)
then run certbot --nginx and follow the steps and it should automatically give you the certificates
optionally put cerbot renew in a cronjob or just run it normally to renew certs when they need it

@twl-surrogate twl-surrogate mentioned this pull request Feb 3, 2023
@twl-surrogate
Copy link
Author

i wrote this assuming you were just serving the site without nginx but you are, my bad, but my config file should help with getting ssl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant