-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Sample config: update LOCAL_ROOT_URL description for PROTOCOL = 'unix' case #3760
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3760 +/- ##
=========================================
Coverage ? 20.05%
=========================================
Files ? 153
Lines ? 30344
Branches ? 0
=========================================
Hits ? 6086
Misses ? 23345
Partials ? 913 Continue to review full report at Codecov.
|
custom/conf/app.ini.sample
Outdated
@@ -122,6 +122,8 @@ UNIX_SOCKET_PERMISSION = 666 | |||
; Local (DMZ) URL for Gitea workers (such as SSH update) accessing web service. | |||
; In most cases you do not need to change the default value. | |||
; Alter it only if your SSH server node is not the same as HTTP node. | |||
; If you set PROTOCOL to 'unix', you must comment this variable or set it to | |||
; 'http://unix/' | |||
LOCAL_ROOT_URL = %(PROTOCOL)s://%(HTTP_ADDR)s:%(HTTP_PORT)s/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you also update the docs page that references the setting: https://docs.gitea.io/en-us/config-cheat-sheet/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest: "Don't set this variable if PROTOCOL is 'unix'"
Updated and rebased on master. |
Re-updated with a slightly simpler formulation more in line with other doc comments. |
Update the sample configuration and config cheat sheet description for the LOCAL_ROOT_URL configuration variable to mention the special case required if PROTOCOL is set to 'unix'. Fixes #3741. Signed-off-by: Timothée Ravier <[email protected]>
Typo fix for 'unix' -> |
Update the sample configuration description for the LOCAL_ROOT_URL
configuration variable to mention the special case required if PROTOCOL
is set to 'unix'.
Fixes #3741.