remove end-of-line whitespace
This commit is contained in:
parent
ce35396da0
commit
16c0713523
@ -35,7 +35,7 @@
|
||||
hostName = "maxwell";
|
||||
|
||||
firewall.allowedTCPPorts = [
|
||||
443 80 # reverse proxy
|
||||
443 80 # reverse proxy
|
||||
8080 # hubot
|
||||
5349 # turn server
|
||||
5350 # turn server
|
||||
@ -128,7 +128,7 @@
|
||||
# Users don't have a password
|
||||
wheelNeedsPassword = false;
|
||||
extraConfig =
|
||||
let
|
||||
let
|
||||
path = "/run/current-system/sw/bin";
|
||||
journal = name: "${path}/journalctl -* ${name}";
|
||||
services = lib.concatMapStringsSep "," (name: "${journal name}");
|
||||
@ -152,14 +152,14 @@
|
||||
'';
|
||||
|
||||
# Limit user process to stop fork bombs
|
||||
security.pam.loginLimits = [
|
||||
security.pam.loginLimits = [
|
||||
{ domain = "@users";
|
||||
type = "hard";
|
||||
type = "hard";
|
||||
item = "nproc";
|
||||
value = "400";
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
### ACME certificates
|
||||
security.acme = with config.var; {
|
||||
email = "rnhmjoj@inventati.org";
|
||||
@ -312,7 +312,7 @@
|
||||
ssl_session_timeout 23m;
|
||||
ssl_prefer_server_ciphers on;
|
||||
ssl_stapling on;
|
||||
ssl_stapling_verify on;
|
||||
ssl_stapling_verify on;
|
||||
'';
|
||||
recommendedGzipSettings = true;
|
||||
recommendedProxySettings = true;
|
||||
@ -323,8 +323,7 @@
|
||||
sslDhparam = "${config.security.dhparams.path}/nginx.pem";
|
||||
|
||||
# Maxwell
|
||||
virtualHosts."${hostname}" =
|
||||
{
|
||||
virtualHosts."${hostname}" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
default = true;
|
||||
@ -334,7 +333,7 @@
|
||||
# Returns IP address
|
||||
locations."/ip".extraConfig = "return 200 $remote_addr;";
|
||||
|
||||
# Asjon code coverage reports
|
||||
# Asjon code coverage reports
|
||||
locations."/asjon/report/" = {
|
||||
index = "index.html";
|
||||
alias = "/var/lib/asjon/tree/report/";
|
||||
@ -351,7 +350,7 @@
|
||||
};
|
||||
|
||||
# Git server
|
||||
locations."/git/" .proxyPass = "http://localhost:3000/";
|
||||
locations."/git/".proxyPass = "http://localhost:3000/";
|
||||
|
||||
# Syncthing
|
||||
locations."/sync/".proxyPass = "http://localhost:8384/";
|
||||
|
Loading…
Reference in New Issue
Block a user