8 inherit (lib) mkOption types;
13 proxyPass = mkOption {
14 type = with types; nullOr str;
16 example = "http://www.example.org/";
18 Sets up a simple reverse proxy as described by <https://httpd.apache.org/docs/2.4/howto/reverse_proxy.html#simple>.
23 type = with types; nullOr str;
25 example = "index.php index.html";
27 Adds DirectoryIndex directive. See <https://httpd.apache.org/docs/2.4/mod/mod_dir.html#directoryindex>.
32 type = with types; nullOr path;
34 example = "/your/alias/directory";
36 Alias directory for requests. See <https://httpd.apache.org/docs/2.4/mod/mod_alias.html#alias>.
40 extraConfig = mkOption {
44 These lines go to the end of the location verbatim.
52 Order of this location block in relation to the others in the vhost.
53 The semantics are the same as with `lib.mkOrder`. Smaller values have