This commit is contained in:
parent
8ab6e1317e
commit
eae97486e9
@ -27,13 +27,13 @@ gitea_bind_ip: 127.0.0.1
|
||||
gitea_bind_port: 61000
|
||||
gitea_listen_address: http://gitea.example.com
|
||||
|
||||
gitea_install_lock: true
|
||||
gitea_install_lock: "true"
|
||||
## Change this to a unique string
|
||||
gitea_secret: "1234567ABCDEFG"
|
||||
gitea_token: "akslkaldasasifiuvsiasfa7s7f8as7f8asd"
|
||||
gitea_run_mode: prod
|
||||
gitea_landing_page: explore
|
||||
gitea_disable_registration: true
|
||||
gitea_disable_registration: "true"
|
||||
|
||||
gitea_postgres_enabled: False
|
||||
gitea_postgres_ssl_mode: disabled
|
||||
@ -80,8 +80,8 @@ gitea_open_ports:
|
||||
gitea_global_log_level: Info
|
||||
gitea_global_log_dir: "{{ gitea_base_dir }}/log"
|
||||
gitea_file_log_level: "{{ gitea_global_log_level }}"
|
||||
gitea_file_log_rotate_enabled: True
|
||||
gitea_file_log_rotate_daily_enabled: True
|
||||
gitea_file_log_rotate_enabled: "true"
|
||||
gitea_file_log_rotate_daily_enabled: "true"
|
||||
gitea_file_log_rotate_max_days: 7
|
||||
|
||||
gitea_repository_upload_max_filesize: 3
|
||||
@ -96,7 +96,7 @@ gitea_no_reply_address: noreply.example.org
|
||||
gitea_oauth_provider_enabled: False
|
||||
gitea_access_token_expiration_time: 3600
|
||||
gitea_refresh_token_expiration_time: 730
|
||||
gitea_invalidate_refresh_tokens: False
|
||||
gitea_invalidate_refresh_tokens: "false"
|
||||
## OAuth2 authentication secret for access and refresh tokens
|
||||
## Change this to a unique string
|
||||
gitea_jwt_secret: Bk0yK7Y9g_p56v86KaHqjSbxvNvu3SbKoOdOt2ZcXvU
|
||||
|
@ -179,10 +179,10 @@ REDIRECT_MACARON_LOG = false
|
||||
|
||||
[log.file]
|
||||
LEVEL = {{ gitea_file_log_level }}
|
||||
LOG_ROTATE = {{ gitea_file_log_rotate_enabled | lower }}
|
||||
LOG_ROTATE = {{ gitea_file_log_rotate_enabled }}
|
||||
MAX_LINES = 1000000
|
||||
MAX_SIZE_SHIFT = 28
|
||||
DAILY_ROTATE = {{ gitea_file_log_rotate_daily_enabled | lower }}
|
||||
DAILY_ROTATE = {{ gitea_file_log_rotate_daily_enabled }}
|
||||
MAX_DAYS = {{ gitea_file_log_rotate_max_days }}
|
||||
|
||||
[cron]
|
||||
@ -230,7 +230,7 @@ TOKEN =
|
||||
ENABLE = true
|
||||
ACCESS_TOKEN_EXPIRATION_TIME = {{ gitea_access_token_expiration_time }}
|
||||
REFRESH_TOKEN_EXPIRATION_TIME = {{ gitea_refresh_token_expiration_time }}
|
||||
INVALIDATE_REFRESH_TOKENS = {{ gitea_invalidate_refresh_tokens | lower }}
|
||||
INVALIDATE_REFRESH_TOKENS = {{ gitea_invalidate_refresh_tokens }}
|
||||
JWT_SECRET = {{ gitea_jwt_secret }}
|
||||
{% else %}
|
||||
[oauth2]
|
||||
|
Loading…
Reference in New Issue
Block a user