add NITTER_PORT variable and use it in nitter-config/templates/nitter.conf
This commit is contained in:
parent
c56ef58daf
commit
6e119c7d8d
|
@ -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:
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue