first commit

This commit is contained in:
git
2025-07-20 13:25:51 +10:00
commit a2971879f0
294 changed files with 42788 additions and 0 deletions
+51
View File
@@ -0,0 +1,51 @@
http:
middlewares:
fail2ban:
plugin:
fail2ban:
logLevel: "INFO"
blacklist:
ip:
- 192.168.0.0/24
rules:
bantime: 3h
enabled: "true"
findtime: 10m
logencoding: UTF-8
maxretry: "4"
ports:
- 0:3305
- 3307:8000
whitelist:
ip:
- ::1
- 127.0.0.1
- 49.177.39.82
- 2001:8003:797c:a100:455f:513:d0f:767f
geoblock:
plugin:
GeoBlock:
allowLocalRequests: true
logLocalRequests: false
logAllowedRequests: false
logApiRequests: true
api: "https://get.geojs.io/v1/ip/country/{ip}"
apiTimeoutMs: 750 # optional
cacheSize: 15
forceMonthlyUpdate: true
allowUnknownCountries: false
unknownCountryApiResponse: "nil"
countries:
- AU
secHeaders:
headers:
browserXssFilter: true
contentTypeNosniff: true
frameDeny: true
# sslRedirect: true
#HSTS Configuration
stsIncludeSubdomains: true
stsPreload: true
stsSeconds: 15552000
forceSTSHeader: true
customFrameOptionsValue: "SAMEORIGIN"