File tree Expand file tree Collapse file tree 2 files changed +4
-10
lines changed
docs/30-administration/05-installation
versioned_docs/version-3.5/30-administration/05-installation Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Original file line number Diff line number Diff line change 115115 # This automatically sets up certificates via let's encrypt
116116 security.acme.defaults.email = "[email protected] "; 117117 security.acme.acceptTerms = true;
118- security.acme.certs."${domain}" = { };
119118
120119 # Setting up a nginx proxy that handles tls for us
121- networking.firewall.allowedTCPPorts = [ 80 443 ];
122120 services.nginx = {
123121 enable = true;
122+ openFirewall = true;
124123 recommendedTlsSettings = true;
125124 recommendedOptimisation = true;
126125 recommendedProxySettings = true;
127126 virtualHosts."${domain}" = {
128127 enableACME = true;
129128 forceSSL = true;
130- locations."/" = {
131- proxyPass = "http://localhost:3007";
132- };
129+ locations."/".proxyPass = "http://localhost:3007";
133130 };
134131 };
135132
Original file line number Diff line number Diff line change 115115 # This automatically sets up certificates via let's encrypt
116116 security.acme.defaults.email = "[email protected] "; 117117 security.acme.acceptTerms = true;
118- security.acme.certs."${domain}" = { };
119118
120119 # Setting up a nginx proxy that handles tls for us
121- networking.firewall.allowedTCPPorts = [ 80 443 ];
122120 services.nginx = {
123121 enable = true;
122+ openFirewall = true;
124123 recommendedTlsSettings = true;
125124 recommendedOptimisation = true;
126125 recommendedProxySettings = true;
127126 virtualHosts."${domain}" = {
128127 enableACME = true;
129128 forceSSL = true;
130- locations."/" = {
131- proxyPass = "http://localhost:3007";
132- };
129+ locations."/".proxyPass = "http://localhost:3007";
133130 };
134131 };
135132
You can’t perform that action at this time.
0 commit comments