You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/cmd
Mike Fellows fabf3f2fc2 Add an option to allow redirect of http port 80 to https. (#1928)
* Add an option to allow redirect of http port 80 to https.

This is an "opt in" option (default is to not redirect).  It will only redirect
if protocol is https and the new REDIRECT_PORT_80 option is set to true.

The Port to redirect in previous commit was hardcoded to 80, now it can be
specified in the app.ini, defaulting to 80.  The boolean option to turn
redirection on has been changed to REDIRECT_OTHER_PORT to be logically
consistent with the new port option.

Signed-off-by: Mike Fellows <mike.fellows@shaw.ca>
7 years ago
..
admin.go Only update needed columns when update user (#2296) 7 years ago
cert.go Cleanup log messaging 8 years ago
dump.go Set session and indexers' data files rel to AppDataPath (#2192) 7 years ago
hook.go improve force push detect when push (#2798) 7 years ago
serv.go Improvements for supporting UI Location (#3146) 7 years ago
web.go Add an option to allow redirect of http port 80 to https. (#1928) 7 years ago
web_graceful.go refactor: show command help message. (#1486) 7 years ago
web_windows.go fix windows build broken by #416 8 years ago