diff options
author | Ben Morrison <ben@gbmor.dev> | 2019-06-11 18:13:30 -0400 |
---|---|---|
committer | Ben Morrison <ben@gbmor.dev> | 2019-06-11 18:14:07 -0400 |
commit | 6dad1372a4680f2314a057b831f8cb2ef44dcf1b (patch) | |
tree | d95c10c760045c27714bc0b387f06ca8d2771eae /svc/init.go | |
parent | d4af885c40ba55ea0ed9adade98afe0658099c47 (diff) | |
download | getwtxt-6dad1372a4680f2314a057b831f8cb2ef44dcf1b.tar.gz |
check if behind reverse proxy
Diffstat (limited to 'svc/init.go')
-rw-r--r-- | svc/init.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/svc/init.go b/svc/init.go index d7419de..082cef8 100644 --- a/svc/init.go +++ b/svc/init.go @@ -19,9 +19,10 @@ var ( flagHelp *bool = pflag.BoolP("help", "h", false, "Display the quick-help screen.") flagMan *bool = pflag.BoolP("manual", "m", false, "Display the configuration manual.") flagConfFile *string = pflag.StringP("config", "c", "", "The name/path of the configuration file you wish to use.") - flagAssets *string = pflag.StringP("assets", "a", "", "The location of the getwtxt assets directory") - flagDBPath *string = pflag.StringP("db", "d", "", "Path to the getwtxt database") - flagDBType *string = pflag.StringP("dbtype", "t", "", "Type of database being used") + flagAssets *string = pflag.StringP("assets", "a", "", "The location of the getwtxt assets directory.") + flagDBPath *string = pflag.StringP("db", "d", "", "Path to the getwtxt database.") + flagDBType *string = pflag.StringP("dbtype", "t", "", "Type of database being used.") + flagProxied *bool = pflag.BoolP("proxied", "p", false, "Use if getwtxt is behind a reverse proxy.") ) // Holds the global configuration |