-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.traefik.yml
32 lines (26 loc) · 914 Bytes
/
.traefik.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# https://github.com/traefik/plugindemo
# The name of your plugin as displayed in the Traefik Pilot web UI.
displayName: traefik_allow_countries
# For now, `middleware` is the only type available.
type: middleware
# The import path of your plugin.
import: github.com/JonasSchubert/traefik-allow-countries
# A brief description of what your plugin is doing.
summary: 'Only allow request based on their country of origin'
# Medias associated to the plugin (optional)
# Empty
# Configuration data for your plugin.
# This is mandatory,
# and Traefik Pilot will try to execute the plugin with the data you provide as part of its startup validity tests.
testData:
addCountryHeader: true
allowLocalRequests: false
cidrFileFolder: './.test-data'
cidrFileUpdate: true
countries:
- DE
fileExtension: 'cidr'
logAllowedRequests: false
logDetails: true
logLocalRequests: false
silentStartUp: true