docker-apps/external/ext-proxmox.yml
2025-04-03 22:57:52 +02:00

57 lines
1.7 KiB
YAML

# NOT WORKING
# pve.sthome.org returns HTTP 500 - Internal Server Error
# Use http://proxmox-local.sthome.org:8006 to access pve
#
#
# external service
# https://doc.traefik.io/traefik/providers/file/
#http:
# #
# # http routers
# # ------------
# routers:
# proxmox-rtr:
# entryPoints: ["web"]
# rule: "Host(`proxmox.sthome.org`)&& PathPrefix(`/`) || Host(`pve.sthome.org`)"
# middlewares:
## - proxmox-auth
# - http-mw-rateLimit-secureHeaders-redirect@file # proxmox-https-redirect
# service: "ext-proxmox-svc"
#
# proxmox-secure-rtr:
# entryPoints: ["websecure"]
# rule: "Host(`proxmox.sthome.org`)&& PathPrefix(`/`) || Host(`pve.sthome.org`)"
# tls:
# certresolver: "solver-dns"
# domains:
# - main: "sthome.org"
# sans:
# - "*.sthome.org"
## middlewares:
## - proxmox-auth
# - http-mw-rateLimit-secureHeaders@file #
# service: "ext-proxmox-svc"
# #
# # http middlewares
# # ----------------
# middlewares:
## proxmox-auth:
## basicauth:
## usersfile: "/mnt/users/cctv.txt"
# proxmox-https-redirect:
# redirectscheme:
# scheme: https
# permanent: true
# #
# # http service
# # ------------
# # https://doc.traefik.io/traefik/routing/services/
# services:
# ext-proxmox-svc:
# loadBalancer:
# servers:
## - url: "https://proxmox-local.sthome.org:8006" # requires local dns, i.e. 10.0.0.1, to be first nameserver in truenas and in docker /etc/resolv.conf
# - url: "https://10.0.0.22:8006" # safest to use ip address, with reservation in dhcp server
## - url: "http://10.0.0.30:80" # test with WSTAT
# passHostHeader: true