1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-18 19:54:48 +01:00
gitea/modules
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>
2017-12-25 23:23:43 +01:00
..
auth Refactor struct's time to remove unnecessary memory usage (#3142) 2017-12-11 06:37:04 +02:00
avatar
base Refactor struct's time to remove unnecessary memory usage (#3142) 2017-12-11 06:37:04 +02:00
cache Fix memcache support when value is returned as string always (#2924) 2017-11-16 15:06:34 +08:00
context Fix ignored errors when checking if organization, team member (#3177) 2017-12-21 09:43:26 +02:00
cron
highlight
httplib
indexer
lfs Improve LFS tests + fix lfs url refs + keep path upper/lowercase in db. (#3092) 2017-12-08 20:21:37 +08:00
log
mailer
markup
minwinsvc
notification
options
private
process
public
search
setting Add an option to allow redirect of http port 80 to https. (#1928) 2017-12-25 23:23:43 +01:00
ssh
sync
templates Refactor struct's time to remove unnecessary memory usage (#3142) 2017-12-11 06:37:04 +02:00
test Unit tests for routers/repo/issue_label (#3198) 2017-12-15 23:11:02 +02:00
user
util Improvements for supporting UI Location (#3146) 2017-12-14 07:45:31 +08:00
validation