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

systemd socket activation for http/https port #31

Closed
scottlamb opened this issue Mar 9, 2018 · 2 comments
Closed

systemd socket activation for http/https port #31

scottlamb opened this issue Mar 9, 2018 · 2 comments
Milestone

Comments

@scottlamb
Copy link
Owner

scottlamb commented Mar 9, 2018

This is probably the most user-friendly way to bind to privileged ports 80 and 443 on a modern Linux system. (One alternative would be setting up a firewall rule to redirect to 8080/8443 or some such.)

@dolfs found a nice article about it: https://www.darkcoding.net/software/systemd-socket-activation-in-go/. One of the drafts of #15 also sets up the systemd stuff for it. Not mentioned in that article: I think we'd want to use port names so we can distinguish http vs https vs maybe some other future port (rtsp for clients to use? websocket? rpc interface? who knows).

This will be more important after completing #27. Until then, ports 80 and 443 should belong to the proxy server anyway.

@scottlamb
Copy link
Owner Author

I'm moving this from the 1.0? milestone to wishlist because (a) for now the recommended setup uses a proxy server, and (b) the install instructions focus on a Docker setup instead of systemd.

@scottlamb
Copy link
Owner Author

a2d243d

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

No branches or pull requests

1 participant