-
-
Notifications
You must be signed in to change notification settings - Fork 15.1k
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
sozu: 0.11.56 -> 0.12.0, nixos/sozu: init #120010
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Modules do not have a version. Naming the commit nixos/sozu: init
is fine. Also please squash the 2nd module commit.
search.nixos.org shows the defaults and examples by default. They can be removed.
and the module is missing a maintainer.
Sorry this PR isn't a quick one to review and I haven't found the time yet. I'll start with one comment: with modern software like this you would think upstream would suggest running as a non root user... but I couldn't find any mention on their github project. Would you mind asking the question to upstream on what it would take to run the software as a non root user, taking advantage of systemd to close the gap? I'll try to find the time this PR deserves for review soon. |
I'll wait with my review until other questions are resolved. |
hi, I'm the lead developer for sozu. I just added some documentation about making privileged ports accessible as a non root user. I thought this was common by now, but when looking for clear docs, there was a lot of confusing information. I hope this helps: https://github.com/sozu-proxy/sozu/blob/master/doc/recipes.md#using-port-80-or-443-as-non-root-user Let me know if there are some things you need to configure the package (FYI sozu 0.12 will be released very soon) |
@Geal thank you for a clear and concise answer. Much appreciated! |
Squashed stuff to bring some order into my mess. |
I'm not sure how I'll be able to make privileged ports accessible to non-root users, as that would require making the |
Sozu looks super neat! I'm gonna add it to my pile of things to look at, heh. |
/marvin opt-in |
Hi! I'm an experimental bot. My goal is to guide this PR through its stages, hopefully ending with a merge. You can read up on the usage here. |
Reminder: Please review! This Pull Request is awaiting review. If you are the assigned reviewer, please have a look. Try to find another reviewer if necessary. If you can't, please say so. If the status is not accurate, please change it. If nothing happens, this PR Note: This feature is currently broken. The bot will not actually change the status. If you see this message multiple times, please request a status change manually. |
nixos/sozu: fix typos to address failed checks NixOS documentation couldn't build due to typos. This fixes that.
nixos/sozu: remove `extraConfig` in favour of `optional` nixos/sozu: rename `settings` to `global` nixos/sozu: fix defaults nixos/sozu: add examples to freeform submodule nixos/sozu: fix environment package to be value of `package` option nixos/sozu: assign group to user `sozu` nixos/sozu: stylistic changes
nixos/sozu: make `PIDFile` take `cfg.settings.pid_file_path` nixos/sozu: move options previously in `global` into top-level nixos/sozu: rename `optional` to `settings` nixos/sozu: move potentially unwanted options into `settings` nixos/sozu: add options to `settings` * listeners * applications * metrics
Not sure why this changed in the first place, but there was a conflict with `master`.
Reminder: Please review! This Pull Request is awaiting review. If you are the assigned reviewer, please have a look. Try to find another reviewer if necessary. If you can't, please say so. If the status is not accurate, please change it. If nothing happens, this PR Note: This feature is currently broken. The bot will not actually change the status. If you see this message multiple times, please request a status change manually. |
shush marvin |
I marked this as stale due to inactivity. → More info |
Hi! The marvin-mk2 bot is now discontinued. I have removed the relevant tags from this PR. If you still need someone to look at it, one option would be to ask in this discourse thread. I am posting this notice to all open PRs with the |
sozu is at 0.15.6 on master, please rebase and reopen a new PR with updated options. |
Motivation for this change
We need Sozu at work, and this makes it more convenient to set up.
Things done
Added service configurations for
Sozu
and updated the package's version.I'm also adding myself to the list of maintainers, to ensure it stays up-to-date.
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)