Tried to add ssh router and endpoint for gitea
This commit is contained in:
@@ -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}"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user