This repository has been archived on 2024-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
forgejo/conf
Adam Strzelecki b886fb4bf0 LOCAL_ROOT_URL for workers accessing web service
Local (DMZ) URL for gogs workers (such as ssh update) accessing web service. In
most cases you do not need to change default http://localhost:HTTP_PORT/. You
may need to alter it only if your ssh server node is not the same as http node,
eg. running behind proxy on different node than web server.

                     --- 80 public port -> 8080 -- web server node
                    /
    public proxy --<
                    \
                     --- 22 public port -> 10022 -- ssh server node

This option is not intended to be accessible via web GUI settings, since it is
unlikely someone needs to change it to somethings else than default
http://localhost:HTTP_PORT/ which should work for most of the cases.

But this should land into the documentation somewhere.

fixup
2015-12-09 23:11:07 +01:00
..
gitignore #1711 try to indicate sqlite session issue when merge 2015-10-25 18:35:27 -04:00
license complate list of gitignores and licenses 2015-08-28 16:44:04 +08:00
locale #2037 Add "New Mirror" button on Dashboard 2015-12-09 11:24:56 -05:00
readme complate list of gitignores and licenses 2015-08-28 16:44:04 +08:00
app.ini LOCAL_ROOT_URL for workers accessing web service 2015-12-09 23:11:07 +01:00
README.md complate list of gitignores and licenses 2015-08-28 16:44:04 +08:00

Execute following command in ROOT directory when anything is changed:

$ go-bindata -o=modules/bindata/bindata.go -ignore="\.DS_Store|README.md" -pkg=bindata conf/...

Add -debug flag to make life easier in development(somehow isn't working):

$ go-bindata -debug -o=modules/bindata/bindata.go -ignore="\.DS_Store|README.md" -pkg=bindata conf/...