enabled ssh on 222 via traefik
This commit is contained in:
@@ -1,3 +1,35 @@
|
|||||||
|
# ----------------------
|
||||||
|
# EntryPoints
|
||||||
|
# ----------------------
|
||||||
|
entryPoints:
|
||||||
|
web:
|
||||||
|
address: ":80"
|
||||||
|
websecure:
|
||||||
|
address: ":443"
|
||||||
|
ssh:
|
||||||
|
address: ":22"
|
||||||
|
|
||||||
|
# ----------------------
|
||||||
|
# TCP (SSH) Routers
|
||||||
|
# ----------------------
|
||||||
|
tcp:
|
||||||
|
routers:
|
||||||
|
gitea-ssh:
|
||||||
|
entryPoints:
|
||||||
|
- ssh
|
||||||
|
service: gitea-ssh
|
||||||
|
rule: "HostSNI(`*`)" # SSH does not use SNI
|
||||||
|
tls: false
|
||||||
|
|
||||||
|
services:
|
||||||
|
gitea-ssh:
|
||||||
|
loadBalancer:
|
||||||
|
servers:
|
||||||
|
- address: "private-pi:222"
|
||||||
|
|
||||||
|
# ----------------------
|
||||||
|
# HTTP Routers & Middlewares
|
||||||
|
# ----------------------
|
||||||
http:
|
http:
|
||||||
middlewares:
|
middlewares:
|
||||||
basic-auth:
|
basic-auth:
|
||||||
@@ -280,6 +312,9 @@ http:
|
|||||||
tls:
|
tls:
|
||||||
certResolver: aetoskia
|
certResolver: aetoskia
|
||||||
|
|
||||||
|
# ----------------------
|
||||||
|
# HTTP Services
|
||||||
|
# ----------------------
|
||||||
services:
|
services:
|
||||||
# Landing Page
|
# Landing Page
|
||||||
www-svc:
|
www-svc:
|
||||||
|
|||||||
Reference in New Issue
Block a user