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

nixos/invoiceplane: add nginx as a webserver option #267519

Merged
merged 1 commit into from
Jan 17, 2024

Conversation

b12f
Copy link
Contributor

@b12f b12f commented Nov 14, 2023

Description of changes

This adds nginx as an option for services.invoiceplane.webserver. I've tested this on my own instance.

Getting the vhost to play nice with phpfpm was done by following this community post: https://community.invoiceplane.com/t/topic/2654

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 23.11 Release Notes (or backporting 23.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

@b12f b12f changed the title feat: add nginx as a webserver option for invoiceplane invoiceplane: add nginx as a webserver option Nov 14, 2023
@b12f b12f force-pushed the feat/nginx-for-invoiceplane branch from a36b2cd to 5fc5b02 Compare November 14, 2023 20:08
@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/prs-ready-for-review/3032/2925

@teutat3s
Copy link
Member

@ofborg build nixosTests.invoiceplane

@b12f b12f force-pushed the feat/nginx-for-invoiceplane branch from 5fc5b02 to 1ee7483 Compare November 15, 2023 14:56
@b12f
Copy link
Contributor Author

b12f commented Nov 15, 2023

Good suggestions @SuperSandro2000, thanks for the review. I've applied your changes.

Getting the vhost to play nice with phpfpm was done by following this
community post: https://community.invoiceplane.com/t/topic/2654
@b12f b12f force-pushed the feat/nginx-for-invoiceplane branch from 1ee7483 to a7f4774 Compare November 16, 2023 19:13
@teutat3s
Copy link
Member

@ofborg build nixosTests.invoiceplane

@b12f b12f changed the title invoiceplane: add nginx as a webserver option nixos/invoiceplane: add nginx as a webserver option Nov 16, 2023
Copy link
Member

@yayayayaka yayayayaka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Diff looking good to me.

@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/prs-already-reviewed/2617/1385

@yayayayaka yayayayaka merged commit 7c3ecbd into NixOS:master Jan 17, 2024
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants