mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
fix: nginx for radicale
This commit is contained in:
parent
46de81538f
commit
8af26da6c2
1 changed files with 21 additions and 20 deletions
|
|
@ -12,24 +12,25 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# services.nginx = {
|
services.nginx = {
|
||||||
# enable = true;
|
enable = true;
|
||||||
# recommendedProxySettings = true;
|
recommendedProxySettings = true;
|
||||||
# recommendedTlsSettings = true;
|
recommendedTlsSettings = true;
|
||||||
# virtualHosts = {
|
virtualHosts = {
|
||||||
# "calendar.liv.town" = {
|
"calendar.liv.town" = {
|
||||||
# forceSSL = true;
|
forceSSL = true;
|
||||||
# enableACME = true;
|
sslCertificate = "/var/lib/acme/liv.town/cert.pem";
|
||||||
# # locations."/radicale/" = {
|
sslCertificateKey = "/var/lib/acme/liv.town/key.pem";
|
||||||
# locations."/" = {
|
# locations."/radicale/" = {
|
||||||
# proxyPass = "http://127.0.0.1:5232/";
|
locations."/" = {
|
||||||
# extraConfig = ''
|
proxyPass = "http://127.0.0.1:5232/";
|
||||||
# # proxy_set_header X-Script-Name /radicale;
|
# extraConfig = ''
|
||||||
# proxy_set_header X-Script-Name /;
|
# # proxy_set_header X-Script-Name /radicale;
|
||||||
# proxy_pass_header Authorization;
|
# # proxy_set_header X-Script-Name /;
|
||||||
# '';
|
# proxy_pass_header Authorization;
|
||||||
# };
|
# '';
|
||||||
# };
|
};
|
||||||
# };
|
};
|
||||||
# };
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue