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

nixosModules.monitoring: enable nginx and add tests #843

Merged
merged 4 commits into from
Feb 25, 2025

Conversation

djacu
Copy link
Contributor

@djacu djacu commented Feb 25, 2025

Description of PR

Use mkDefault for enable flags for easier toggling.
Remove grafanaDomain option and inline localhost.
Enable nginx routing and fix module definition.
Add test to check routing for grafana.

Previous Behavior

We didn't enable nginx for monitoring.

New Behavior

We enabled nginx for monitoring.

Tests

nix build .#checks.x86_64-linux.monitor

djacu and others added 4 commits February 24, 2025 21:43
Use `mkDefault` for enable flags for easier toggling.

Co-authored-by: Robert James Hernandez <[email protected]>
This is always going to be localhost.

Co-authored-by: Robert James Hernandez <[email protected]>
Create an option for the hostname header to be routed to the grafana
service.

`proxyWebsockets` option got moved since this was created.

Co-authored-by: Robert James Hernandez <[email protected]>
Copy link
Member

@sarcasticadmin sarcasticadmin left a comment

Choose a reason for hiding this comment

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

Worked with @djacu on getting nginx configured with grafana. This doesnt enable TLS yet but leveraging routing from the header

@sarcasticadmin sarcasticadmin merged commit 73a0448 into master Feb 25, 2025
2 checks passed
@sarcasticadmin sarcasticadmin deleted the djacu/issue-771-more-fixes branch February 25, 2025 22:50
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