Disable IPv6

This commit is contained in:
coolneng 2019-11-11 14:30:45 +01:00
parent fecb1956f2
commit 84a17713ea
4 changed files with 7 additions and 4 deletions

View File

@ -39,7 +39,7 @@
** Web stack [1/7] [14%] ** Web stack [1/7] [14%]
*** IN-PROGRESS Nginx [1/5] [20%] *** IN-PROGRESS Nginx [1/5] [20%]
- [X] Radicale reverse proxy - [X] Radicale reverse proxy
- [ ] Syncthing discovery reverse proxy - [ ] Syncthing reverse proxy
- [ ] Wallabag vhost - [ ] Wallabag vhost
- [ ] Gitea vhost - [ ] Gitea vhost
- [ ] Miniflux vhost - [ ] Miniflux vhost

View File

@ -53,7 +53,7 @@
enable = true; enable = true;
config = '' config = ''
[server] [server]
hosts = 0.0.0.0:5232 hosts = 127.0.0.1:5232
max_connections = 20 max_connections = 20
max_content_length = 100000000 max_content_length = 100000000
timeout = 30 timeout = 30

View File

@ -27,5 +27,8 @@
autoLoadConntrackHelpers = true; autoLoadConntrackHelpers = true;
connectionTrackingModules = [ "sane" ]; connectionTrackingModules = [ "sane" ];
}; };
# Disable IPv6
networking.enableIPv6 = false;
} }

View File

@ -48,8 +48,8 @@
"coolneng.duckdns.org" = { "coolneng.duckdns.org" = {
enableACME = true; enableACME = true;
forceSSL = true; forceSSL = true;
sslCertificate = "/var/lib/acme/radicale.coolneng.duckdns.org/fullchain.pem"; sslCertificate = "/var/lib/acme/coolneng.duckdns.org/fullchain.pem";
sslCertificateKey = "/var/lib/acme/radicale.coolneng.duckdns.org/key.pem"; sslCertificateKey = "/var/lib/acme/coolneng.duckdns.org/key.pem";
locations."/radicale/" = { locations."/radicale/" = {
proxyPass = "http://localhost:5232/"; proxyPass = "http://localhost:5232/";
extraConfig = '' extraConfig = ''