diff --git a/dicos/50_gitea.xml b/dicos/50_gitea.xml
index ae26300..7f2e591 100644
--- a/dicos/50_gitea.xml
+++ b/dicos/50_gitea.xml
@@ -10,118 +10,124 @@
-
- apt-transport-https
- git
-
- forge
-
- gitea_http_port
-
-
- gitea_ssh_port
-
-
+
+ apt-transport-https
+ git
+
+ forge
+
+ gitea_http_port
+
+
+ gitea_ssh_port
+
+
-
+
- non
-
-
-
+ non
+
+
+
- Forge Numérique EOLE
+ Forge Numérique EOLE
- non
+ non
-
- non
-
-
-
+
+
+
+ non
+
+
+
- /srv/forge/git
+ /srv/forge/git
- non
+ non
- 6000
+ 6000
- 2222
+ 2222
- /var/db/gitea/gitea.db
+ /var/db/gitea/gitea.db
- localhost
+ localhost
-
+
-
-
+
+
-
+
-
- non
- gitea_mail_from
-
-
- non
- gitea
- gitea-nginx
- gitea
- forge
- gitea_ssh
-
-
- non
- gitea_email_user
- gitea_email_password
-
-
- oui
- OR
- activer_nginx_web
- non
- oui
- non
-
+
+ non
+ gitea_mail_from
+ gitea_smtp_srv
+ gitea_smtp_prt
+ gitea_email_user
+ gitea_email_password
+
+
+ non
+ gitea
+ gitea-nginx
+ gitea
+ forge
+ gitea_ssh
+
+
+ non
+ gitea_email_user
+ gitea_email_password
+
+
+ oui
+ OR
+ activer_nginx_web
+ non
+ oui
+ non
+
-
-
+
+
non
gitea-nginx
gitea_with_nginx
-
-
+
+
oui
gitea_without_nginx
-
+
-
- ['default', 'externe', 'local']
-
-
- local
- BDD Forge
-
-
- default
- BDD Forge
-
+
+ ['default', 'externe', 'local']
+
+
+ local
+ BDD Forge
+
+
+ default
+ BDD Forge
+
Activer la forge Gitea, Gitea est une forge basée sur Git clone de github (fork de gogs)
diff --git a/tmpl/gitea.conf b/tmpl/gitea.conf
index bf27f3c..231c4be 100644
--- a/tmpl/gitea.conf
+++ b/tmpl/gitea.conf
@@ -137,11 +137,7 @@ SUBJECT = %(APP_NAME)s
; Gmail: smtp.gmail.com:587
; QQ: smtp.qq.com:25
; Note, if the port ends with "465", SMTPS will be used. Using STARTTLS on port 587 is recommended per RFC 6409. If the server supports STARTTLS it will always be used.
- %if %%getVar('activer_exim_relay_smtp','non') == 'oui'
-HOST = %%exim_relay_smtp:25
- %else
-HOST = 127.0.0.1
- %end if
+HOST = %%gitea_smtp_srv:%%gitea_srv_prt
; Do not verify the certificate of the server. Only use this for self-signed certificates
SKIP_VERIFY = true
; Use client certificate