WIP: nix cthulhu config #91
No reviewers
Labels
No labels
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Fachschaft/nixConfig#91
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "nerf/nixConfig:cthulhu"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
91763734ee
to41d7652cb4
41d7652cb4
toa7c1e37375
42b0d35691
tobdcb962b53
@ -0,0 +46,4 @@
# # Hosting
# download.mathebau.de Hosting
# theateraufnahmen.mathebau.de
#
Also https://mathebau.de/protokolle and possibly more
@ -0,0 +30,4 @@
fsType = "ext4";
};
# nix puts the caching folder under /var/cache/nginx
fileSystems."/var/cache/nginx" = {
Should we have on disk caching? I think we should just supply more RAM.
@ -0,0 +1,211 @@
# All our domains fall in one or more of three categories
# proxyPass, basically handle the tls and pass the http traffick on
traffick -> traffic
@ -0,0 +23,4 @@
# notice that nix will also parse this string and we need to escape \
# so after nix processing "~ /\.git/" will end up in the nginx config,
# with the proper regex escape.
# I find this behaiviour unexpected and a bit weird, but it catches some footguns
Does 'this' reference the line before or the setting afterwards?
@ -0,0 +41,4 @@
}
// virtualHostConfig.locations;
}
// virtualHostConfig;
This order of update kills the default locations settings from above as soon as there are any locations settings present.
@ -0,0 +57,4 @@
cacheHelper = targetData:
proxyHelper targetData
// {
extraConfig = ''
How does this compare to the
services.nginx.recommendedGzipSettings
setting?See also
services.nginx.recommendedOptimisation
@ -0,0 +174,4 @@
};
# TODO: we need to rebuild this for dns challenges,
# this does not work with our proxy pass challenge hand through things.
security.acme = {
Also, can we deduplicate the list of hostnames?
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.