Tried to add ssh router and endpoint for gitea

This commit is contained in:
2025-11-15 03:02:38 +01:00
parent 49c8094474
commit d6843a56b8
2 changed files with 16 additions and 0 deletions
+1
View File
@@ -21,6 +21,7 @@ services:
- "--entryPoints.websecure.http.tls=true"
- "--entryPoints.web.http.redirections.entryPoint.to=websecure"
- "--entryPoints.web.http.redirections.entryPoint.scheme=https"
- "--entryPoints.ssh.address=:222"
# Let's Encrypt STAGING. CURRENTLY USING CF ORIGIN CA INSTEAD
# - "--certificatesresolvers.letsencrypt.acme.email=${EMAIL}"
+15
View File
@@ -73,6 +73,14 @@ http:
- security-headers
tls: {}
# Gitea SSH
gitea-ssh:
rule: "HostSNI(`*`)"
entryPoints:
- ssh
service: gitea-ssh
tls: {}
# Glance (local only)
glance:
rule: "Host(`glance.workstation`)"
@@ -162,6 +170,13 @@ http:
servers:
- url: "http://gitea:3000"
# Gitea SSH
gitea-ssh:
loadBalancer:
servers:
- url: "ssh://gitea:22"
serversTransports:
insecureTransport:
insecureSkipVerify: true