Adjust nginx settings

This commit is contained in:
Vili Sinervä 2025-01-15 00:29:25 +02:00
parent 1522891a49
commit 98192942be
No known key found for this signature in database
GPG key ID: DF8FEAF54EFAC996
2 changed files with 7 additions and 1 deletions

View file

@ -28,6 +28,9 @@
nginx = { nginx = {
recommendedGzipSettings = true; recommendedGzipSettings = true;
recommendedOptimisation = true;
recommendedTlsSettings = true;
recommendedProxySettings = true;
virtualHosts.${config.services.nextcloud.hostName} = { virtualHosts.${config.services.nextcloud.hostName} = {
forceSSL = true; forceSSL = true;

View file

@ -36,6 +36,9 @@
nginx = { nginx = {
enable = true; enable = true;
recommendedGzipSettings = true; recommendedGzipSettings = true;
recommendedOptimisation = true;
recommendedTlsSettings = true;
recommendedProxySettings = true;
virtualHosts."vaultwarden.vsinerva.fi" = { virtualHosts."vaultwarden.vsinerva.fi" = {
forceSSL = true; forceSSL = true;
@ -43,7 +46,7 @@
enableACME = true; enableACME = true;
acmeRoot = null; acmeRoot = null;
locations."/" = { locations."/" = {
proxyPass = "http://127.0.0.1:8000"; proxyPass = "http://localhost:8000";
}; };
}; };
}; };