nixpkgs/nixos
Dave Nicponski 1a73877305 Tweak nginx config for Let's Encrypt ACME challenges
Currently, this is using a "URI prefix match", but per nginx docs,

```
[...] the location with the longest matching prefix is selected and remembered. Then regular expressions are checked, in the order of their appearance in the configuration file. The search of regular expressions terminates on the first match, and the corresponding configuration is used. If no match with a regular expression is found then the configuration of the prefix location remembered earlier is used.
```
which means a config like this (from wordpress service) will override that
```
locations = {
          "~ /\\." = {
            priority = 800;
            extraConfig = "deny all;";
          };
};
```
😱
Luckily, from nginx docs:
```
If the longest matching prefix location has the “^~” modifier then regular expressions are not checked.
```

Whew!
2022-10-20 10:59:28 -04:00
..
doc Merge pull request #195210 from yorickvP/guake 2022-10-12 22:12:57 +11:00
lib genJqSecretsReplacementSnippet: Allow dots in attribute names... 2022-10-09 08:12:19 +02:00
maintainers nixos/*: md-convert hidden plaintext options 2022-08-31 16:32:54 +02:00
modules Tweak nginx config for Let's Encrypt ACME challenges 2022-10-20 10:59:28 -04:00
tests Merge pull request #188881 from shadaj/patch-4 2022-10-12 21:26:00 +01:00
COPYING
default.nix
README
release-combined.nix nixos/release-combined: Enable more jobs on aarch64-linux 2022-10-11 15:33:42 +02:00
release-small.nix nixos/release-small: Test uefi cdrom 2022-10-11 15:33:42 +02:00
release.nix nixos/release-combined: Build graphical ISOs for aarch64-linux 2022-10-11 15:33:41 +02:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
https://nixos.org/nixos and in the manual in doc/manual.