--- a/custom/conf/app.example.ini 2026-04-19 18:40:44.063000000 +0100 +++ b/custom/conf/app.example.ini 2026-04-19 19:27:46.350000000 +0100 @@ -41,14 +41,14 @@ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; ;; App name that shows in every page title -APP_NAME = ; Gitea: Git with a cup of tea +APP_NAME = Gitea: Git with a cup of tea ;; ;; RUN_USER will automatically detect the current user - but you can set it here change it if you run locally -RUN_USER = ; git +RUN_USER = gitea ;; ;; Application run mode, affects performance and debugging: "dev" or "prod", default is "prod" ;; Mode "dev" makes Gitea easier to develop and debug, values other than "dev" are treated as "prod" which is for production use. -;RUN_MODE = prod +RUN_MODE = prod ;; ;; The working directory, see the comment of AppWorkPath above ;WORK_PATH = @@ -60,14 +60,14 @@ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; ;; The protocol the server listens on. One of "http", "https", "http+unix", "fcgi" or "fcgi+unix". -;PROTOCOL = http +PROTOCOL = http+unix ;; ;; Set the domain for the server. -;DOMAIN = localhost +DOMAIN = git.domain.example ;; ;; The AppURL is used to generate public URL links, defaults to "{PROTOCOL}://{DOMAIN}:{HTTP_PORT}/". ;; Most users should set it to the real website URL of their Gitea instance when there is a reverse proxy. -;ROOT_URL = +ROOT_URL = https://git.domain.example ;; ;; Controls how to detect the public URL. ;; Although it defaults to "legacy" (to avoid breaking existing users), most instances should use the "auto" behavior, @@ -86,7 +86,7 @@ ;; The address to listen on. Either a IPv4/IPv6 address or the path to a unix socket. ;; If PROTOCOL is set to "http+unix" or "fcgi+unix", this should be the name of the Unix socket file to use. ;; Relative paths will be made absolute against the _`AppWorkPath`_. -;HTTP_ADDR = 0.0.0.0 +HTTP_ADDR = /var/run/gitea/gitea.sock ;; ;; The port to listen on for "http" or "https" protocol. Leave empty when using a unix socket. ;HTTP_PORT = 3000 @@ -596,17 +596,17 @@ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Root path for the log files - defaults to "{AppWorkPath}/log" -;ROOT_PATH = +ROOT_PATH = /var/log/gitea ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Main Logger ;; ;; Either "console", "file" or "conn", default is "console" ;; Use comma to separate multiple modes, e.g. "console, file" -MODE = console +MODE = file ;; ;; Either "Trace", "Debug", "Info", "Warn", "Error" or "None", default is "Info" -LEVEL = Info +LEVEL = Error ;; ;; Print Stacktrace with logs (rarely helpful, do not set) Either "Trace", "Debug", "Info", "Warn", "Error", default is "None" ;STACKTRACE_LEVEL = None @@ -660,11 +660,11 @@ ;[log.console] ;STDERR = false ;; -;[log.file] +[log.file] ;; Set the file_name for the logger. If this is a relative path this will be relative to ROOT_PATH -;FILE_NAME = +FILE_NAME = gitea.log ;; This enables automated log rotate(switch of following options), default is true -;LOG_ROTATE = true +LOG_ROTATE = true ;; Max size shift of a single file, default is 28 means 1 << 28, 256MB ;MAX_SIZE_SHIFT = 28 ;; Segment log daily, default is true @@ -1930,7 +1930,7 @@ ;COOKIE_NAME = i_like_gitea ;; ;; If you use session in https only: true or false. If not set, it defaults to `true` if the ROOT_URL is an HTTPS URL. -;COOKIE_SECURE = +COOKIE_SECURE = true ;; ;; Session GC time interval in seconds, default is 86400 (1 day) ;GC_INTERVAL_TIME = 86400