as part of the setup process, yt2009 will write a file called config.json inside the back directory.
inside you will find the properties you have set up using yt2009setup.js:
port- the port HTTP yt2009 will useenv- the environment (dev/prod)useSSL- whether SSL (https) is usedSSLCertPath- SSL certSSLKeyPath- SSL private keySSLPort- the port HTTPs yt2009 will useip- the IP address used for paths that need to have it hardcoded (e.g. gdata endpoints)auto_maintain- automatically maintains space used by yt2009. toggle false:true/false.maintain_max_size- max size of the /assets/ folder - number in GB. to be set withauto_maintain.maintain_max_cache_size- max size per cache file - number in MB. to be set withauto_maintain.
other params you can set:
tokens- an array of access tokens required to access if prod is usedfallbackMode- doesn't use the saved cache, shows a fallback notice on homepage. deprecatedoverrideMaster- use a different master server for comments/video syncdisableWs- disable the use of a master server altogethertemplocked_tokens- an array of access tokens that will be redirected to /t.htmcustomHomepageText- a custom text that will be shown on the homepageredirmode- an absolute http path of a different yt2009 instance you wish to redirect tologged_tokens- an array of access tokens that will have their usage logged inaccessdata.ratelimit- a number of web fetch requests one ipv4 address/one ipv6 block can make in 1 minute.ac- suppress errors that would normally crash yt2009.true/falsegdata_auth- require token-based authorization for gdata api (e.g. mobile apps).true/false