add new proxying envvar

This commit is contained in:
Arya Kiran
2023-05-16 20:41:08 +08:00
parent 73149fcf85
commit 15a1ee105b
+5 -1
View File
@@ -12,6 +12,10 @@ You can set these in two ways:
This variable is used by GotHub to check if you've completed setup or not. The GotHub setup wizard sets this to true for you. If it's empty, you will get a banner on GotHub's main page saying you haven't completed setup. Once you're done setting up GotHub, set this to true.
### GOTHUB_PROXYING_ENABLED
If you don't want to proxy non-essential things (ie. avatars, repo archives, raw files) through your instance, set this to false.
### GOTHUB_IP_LOGGED
If you log IPs on your instance, set this to true. Otherwise, set it to false.
@@ -52,4 +56,4 @@ Port to run GotHub on. For example: ``GOTHUB_PORT=8080``. This gets overwritten
### GOTHUB_USER_AGENT
User agent to use when making requests to GitHub. For example: ``GOTHUB_USER_AGENT=GotHub/1.0.0``. Set to Chrome on Windows 10 by default, optional.
User agent to use when making requests to GitHub. For example: ``GOTHUB_USER_AGENT=GotHub/1.0.0``. Set to Chrome on Windows 10 by default, optional.