Skip to content

Implement simple Nginx configuration#1

Closed
michaelshmitty wants to merge 10 commits intomartinetd:cryptpadfrom
michaelshmitty:martinetd-cryptpad
Closed

Implement simple Nginx configuration#1
michaelshmitty wants to merge 10 commits intomartinetd:cryptpadfrom
michaelshmitty:martinetd-cryptpad

Conversation

@michaelshmitty
Copy link
Copy Markdown

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
Copy Markdown
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.

@martinetd martinetd force-pushed the cryptpad branch 12 times, most recently from dc4d108 to 7c448e8 Compare July 24, 2024 07:17
@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