1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gogs_ynh.git synced 2024-09-03 20:36:23 +02:00

Update app.ini

This commit is contained in:
ericgaspar 2021-11-26 15:38:07 +01:00
parent aee0ebee0c
commit ebce2ad04a
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -15,7 +15,7 @@ EXTERNAL_URL = https://__URL__/
DOMAIN = __DOMAIN__ DOMAIN = __DOMAIN__
; The protocol that is used to serve direct traffic to the application. ; The protocol that is used to serve direct traffic to the application.
; Currently supports "http", "https", "fcgi" and "unix". ; Currently supports "http", "https", "fcgi" and "unix".
PROTOCOL = https PROTOCOL = http
; The address to be listened by the application. ; The address to be listened by the application.
HTTP_ADDR = 127.0.0.1 HTTP_ADDR = 127.0.0.1
; The port number to be listened by the application. ; The port number to be listened by the application.
@ -27,8 +27,8 @@ HTTP_PORT = __PORT__
; not forget to export the private key): ; not forget to export the private key):
; $ openssl pkcs12 -in cert.pfx -out cert.pem -nokeys ; $ openssl pkcs12 -in cert.pfx -out cert.pem -nokeys
; $ openssl pkcs12 -in cert.pfx -out key.pem -nocerts -nodes ; $ openssl pkcs12 -in cert.pfx -out key.pem -nocerts -nodes
CERT_FILE = /etc/yunohost/certs/__DOMAIN__/crt.pem CERT_FILE = custom/https/cert.pem
KEY_FILE = /etc/yunohost/certs/__DOMAIN__/key.pem KEY_FILE = custom/https/key.pem
; The minimum allowed TLS version, currently supports "TLS10", "TLS11", "TLS12", and "TLS13". ; The minimum allowed TLS version, currently supports "TLS10", "TLS11", "TLS12", and "TLS13".
TLS_MIN_VERSION = TLS12 TLS_MIN_VERSION = TLS12
; File permission when serve traffic via Unix domain socket. ; File permission when serve traffic via Unix domain socket.