Last active
August 6, 2021 22:23
-
-
Save containeroo-gists/b896f685cd8fd2f4f6ac3d823f044436 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http: | |
routers: | |
pihole: | |
entryPoints: | |
- "https" | |
rule: "Host(`pihole.example.com`)" | |
middlewares: | |
- default-headers | |
- addprefix-pihole | |
tls: | |
certResolver: http | |
service: pihole | |
synology: | |
entryPoints: | |
- "https" | |
rule: "Host(`synology.example.com`)" | |
middlewares: | |
- default-headers | |
tls: | |
certResolver: http | |
service: synology | |
services: | |
pihole: | |
loadBalancer: | |
servers: | |
- url: "http://192.168.0.10:80" | |
passHostHeader: true | |
synology: | |
loadBalancer: | |
servers: | |
- url: "http://192.168.0.11:5000" | |
passHostHeader: true | |
middlewares: | |
addprefix-pihole: | |
addPrefix: | |
prefix: "/admin" | |
https-redirect: | |
redirectScheme: | |
scheme: https | |
default-headers: | |
headers: | |
frameDeny: true | |
sslRedirect: true | |
browserXssFilter: true | |
contentTypeNosniff: true | |
forceSTSHeader: true | |
stsIncludeSubdomains: true | |
stsPreload: true | |
default-whitelist: | |
ipWhiteList: | |
sourceRange: | |
- "10.0.0.0/24" | |
- "192.168.0.0/16" | |
- "172.0.0.0/8" | |
secured: | |
chain: | |
middlewares: | |
- default-whitelist | |
- default-headers |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hi, super bonus thank you ... But I want to explain my settings and see if what I want to do is possible with this bonus. I have a proxmox with several virtual machines. 1 ct has atrafik 2.0 installed and traffic 80 and 443 are redirected to it. All virtual machines are on the 10.0.0.0/24 network so as not to complicate me. In a wordpress server I only have "404 page not found". What may I be missing? Thank you