Compare commits

...

3 Commits

Author SHA1 Message Date
10fa1168a3
gitea: use https in urls 2022-11-20 21:35:37 -05:00
548a8f2e81
ssl: fix acme not renewing until 10 days left 2022-11-20 21:35:13 -05:00
2d864fc63b
gitea: fix wrong SSH_DOMAIN 2022-07-15 19:55:22 -04:00
2 changed files with 3 additions and 2 deletions

View File

@ -141,4 +141,5 @@
fullchain_dest: "/etc/ssl-acme/certs/fullchain_{{ cert_name }}.crt" fullchain_dest: "/etc/ssl-acme/certs/fullchain_{{ cert_name }}.crt"
chain_dest: "/etc/ssl-acme/certs/chain_{{ cert_name }}.crt" chain_dest: "/etc/ssl-acme/certs/chain_{{ cert_name }}.crt"
data: "{{ acme_challenge }}" data: "{{ acme_challenge }}"
remaining_days: 21
when: to_regen is defined when: to_regen is defined

View File

@ -268,7 +268,7 @@ FILE_EXTENSIONS = .md,.markdown,.mdown,.mkd
; The protocol the server listens on. One of 'http', 'https', 'unix' or 'fcgi'. ; The protocol the server listens on. One of 'http', 'https', 'unix' or 'fcgi'.
PROTOCOL = http PROTOCOL = http
DOMAIN = {{ server_blocks.gitea.domain }} DOMAIN = {{ server_blocks.gitea.domain }}
ROOT_URL = http://{{ server_blocks.gitea.domain }}{{ nginx_services.gitea.path }} ROOT_URL = https://{{ server_blocks.gitea.domain }}{{ nginx_services.gitea.path }}
; when STATIC_URL_PREFIX is empty it will follow ROOT_URL ; when STATIC_URL_PREFIX is empty it will follow ROOT_URL
STATIC_URL_PREFIX = STATIC_URL_PREFIX =
; The address to listen on. Either a IPv4/IPv6 address or the path to a unix socket. ; The address to listen on. Either a IPv4/IPv6 address or the path to a unix socket.
@ -299,7 +299,7 @@ START_SSH_SERVER = true
; Username to use for the builtin SSH server. If blank, then it is the value of RUN_USER. ; Username to use for the builtin SSH server. If blank, then it is the value of RUN_USER.
BUILTIN_SSH_SERVER_USER = BUILTIN_SSH_SERVER_USER =
; Domain name to be exposed in clone URL ; Domain name to be exposed in clone URL
SSH_DOMAIN = {{ domain }} SSH_DOMAIN = {{ server_blocks.gitea.domain }}
; The network interface the builtin SSH server should listen on ; The network interface the builtin SSH server should listen on
SSH_LISTEN_HOST = SSH_LISTEN_HOST =
; Port number to be exposed in clone URL ; Port number to be exposed in clone URL