diff --git a/group_vars/all.sample b/group_vars/all.sample index 2d847b5..d280ffe 100644 --- a/group_vars/all.sample +++ b/group_vars/all.sample @@ -4,6 +4,9 @@ NITTER_USER: nitter # Specify the domain Nitter will run under NITTER_DOMAIN: nitter.example.com +# Specify the port Nitter will listen on, 8080 is fine if you are unsure +NITTER_PORT: 8080 + # Specify the HMAC Nitter will use # generate this using pwgen -s 24 1 NITTER_HMAC: diff --git a/nitter-config/templates/nitter.conf b/nitter-config/templates/nitter.conf index 05a593c..b887ce5 100644 --- a/nitter-config/templates/nitter.conf +++ b/nitter-config/templates/nitter.conf @@ -1,6 +1,6 @@ [Server] address = "127.0.0.1" -port = 8080 +port = {{ NITTER_PORT } https = false # disable to enable cookies when not using https httpMaxConnections = 100 staticDir = "./public"