1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-23 08:47:42 -05:00
forgejo/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 Use assert in legacy unit tests (#867) 2017-02-08 14:29:07 +08:00
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 Add branch overiew page (#2108) 2017-10-26 08:49:16 +08:00
highlight No highlighting for .txt files (#1922) 2017-06-09 19:39:16 -05:00
httplib Add internal routes for ssh hook comands (#1471) 2017-04-19 11:45:01 +08:00
indexer Code/repo search (#2582) 2017-10-27 09:10:54 +03:00
lfs Improve LFS tests + fix lfs url refs + keep path upper/lowercase in db. (#3092) 2017-12-08 20:21:37 +08:00
log Fix lint errors (#2547) 2017-09-19 11:08:30 +03:00
mailer Add support for extra sendmail arguments (#2731) 2017-10-25 22:27:25 +03:00
markup Fix issue link rendering in commit messages (#2897) 2017-11-13 09:35:55 +08:00
minwinsvc Fix Git hooks not being executed on Windows when running as a service (#1149) 2017-03-09 09:27:43 +08:00
notification Notification - Step 1 (#523) 2016-12-31 00:44:54 +08:00
options Fix typos in models/ and modules/ (#1248) 2017-03-15 08:52:01 +08:00
private improve protected branch to add whitelist support (#2451) 2017-09-14 16:16:22 +08:00
process Fix run command race (#1470) 2017-11-13 22:51:45 +08:00
public Allow custom public files (#782) 2017-01-28 23:14:56 +01:00
search Code/repo search (#2582) 2017-10-27 09:10:54 +03:00
setting Add an option to allow redirect of http port 80 to https. (#1928) 2017-12-25 23:23:43 +01:00
ssh Configurable SSH key exchange algorithm and MAC suite (#2806) 2017-11-02 23:26:41 +08:00
sync Fix status table race condition (#1835) 2017-05-31 16:57:17 +08:00
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 golint fixed for modules/user 2016-11-24 17:37:11 +08:00
util Improvements for supporting UI Location (#3146) 2017-12-14 07:45:31 +08:00
validation Create new branch from branch selection dropdown (#2130) 2017-10-15 22:59:24 +03:00