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

Implement simple Nginx configuration #1

Closed

Conversation

michaelshmitty
Copy link

Description of changes

These commits contain some suggestions / improvements to eventually go into NixOS#251687

cryptpad removed its dependency on bower and can be sanely packaged again.
Add the package back, as a brand new package.

The httpAddress setting was ignored and forcefully fixed;
the alternate port setting is also broken but fondamentally useless for
us so leave broken in nixpkgs.

Link: cryptpad/cryptpad#295
This is a full rewrite that also manages the configs (cryptpad's config
and nixos's) for easier maintainance.

The cryptpad's example nginx config is pretty horrible and this can
probably be improved.
Other areas probably also can be improved, but this sticks to cryptpad
defaults for now.
Add some hardening. The systemd confinement setting isn't common in
nixos so make it optional.

Test hasn't changed: the same test runs both with and without
confinement.
@michaelshmitty
Copy link
Author

@martinetd I think I figured out how to open a PR for some extra commits for you to look at. I will start adding them here. Feel free to take or leave what you want. You probably want to sync your master branch with NixOS/nixpkgs because I've already rebased this onto latest.

@michaelshmitty michaelshmitty force-pushed the martinetd-cryptpad branch 4 times, most recently from 597b313 to 61e1488 Compare December 19, 2023 12:48
@michaelshmitty michaelshmitty deleted the martinetd-cryptpad branch September 26, 2024 17:57
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.

2 participants