Move servers down
This commit is contained in:
parent
6863ab66d5
commit
d644cf0c41
|
@ -297,6 +297,42 @@ cache_neg_ttl = 60
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
##########################################
|
||||||
|
# Time access restrictions #
|
||||||
|
##########################################
|
||||||
|
|
||||||
|
## One or more weekly schedules can be defined here.
|
||||||
|
## Patterns in the name-based blocklist can optionally be followed with @schedule_name
|
||||||
|
## to apply the pattern 'schedule_name' only when it matches a time range of that schedule.
|
||||||
|
##
|
||||||
|
## For example, the following rule in a blacklist file:
|
||||||
|
## *.youtube.* @time-to-sleep
|
||||||
|
## would block access to Youtube only during the days, and period of the days
|
||||||
|
## define by the 'time-to-sleep' schedule.
|
||||||
|
##
|
||||||
|
## {after='21:00', before= '7:00'} matches 0:00-7:00 and 21:00-0:00
|
||||||
|
## {after= '9:00', before='18:00'} matches 9:00-18:00
|
||||||
|
|
||||||
|
[schedules]
|
||||||
|
|
||||||
|
# [schedules.'time-to-sleep']
|
||||||
|
# mon = [{after='21:00', before='7:00'}]
|
||||||
|
# tue = [{after='21:00', before='7:00'}]
|
||||||
|
# wed = [{after='21:00', before='7:00'}]
|
||||||
|
# thu = [{after='21:00', before='7:00'}]
|
||||||
|
# fri = [{after='23:00', before='7:00'}]
|
||||||
|
# sat = [{after='23:00', before='7:00'}]
|
||||||
|
# sun = [{after='21:00', before='7:00'}]
|
||||||
|
|
||||||
|
# [schedules.'work']
|
||||||
|
# mon = [{after='9:00', before='18:00'}]
|
||||||
|
# tue = [{after='9:00', before='18:00'}]
|
||||||
|
# wed = [{after='9:00', before='18:00'}]
|
||||||
|
# thu = [{after='9:00', before='18:00'}]
|
||||||
|
# fri = [{after='9:00', before='17:00'}]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#########################
|
#########################
|
||||||
# Servers #
|
# Servers #
|
||||||
#########################
|
#########################
|
||||||
|
@ -343,37 +379,3 @@ cache_neg_ttl = 60
|
||||||
|
|
||||||
# [static.'google']
|
# [static.'google']
|
||||||
# stamp = 'sdns://AgUAAAAAAAAAACDyXGrcc5eNecJ8nomJCJ-q6eCLTEn6bHic0hWGUwYQaA5kbnMuZ29vZ2xlLmNvbQ0vZXhwZXJpbWVudGFs'
|
# stamp = 'sdns://AgUAAAAAAAAAACDyXGrcc5eNecJ8nomJCJ-q6eCLTEn6bHic0hWGUwYQaA5kbnMuZ29vZ2xlLmNvbQ0vZXhwZXJpbWVudGFs'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Time access restrictions
|
|
||||||
##
|
|
||||||
## One or more weekly schedules can be defined here.
|
|
||||||
## Patterns in the name-based blocklist can optionally be followed with @schedule_name
|
|
||||||
## to apply the pattern 'schedule_name' only when it matches a time range of that schedule.
|
|
||||||
##
|
|
||||||
## For example, the following rule in a blacklist file:
|
|
||||||
## *.youtube.* @time-to-sleep
|
|
||||||
## would block access to Youtube only during the days, and period of the days
|
|
||||||
## define by the 'time-to-sleep' schedule.
|
|
||||||
##
|
|
||||||
## {after='21:00', before= '7:00'} matches 0:00-7:00 and 21:00-0:00
|
|
||||||
## {after= '9:00', before='18:00'} matches 9:00-18:00
|
|
||||||
|
|
||||||
[schedules]
|
|
||||||
|
|
||||||
# [schedules.'time-to-sleep']
|
|
||||||
# mon = [{after='21:00', before='7:00'}]
|
|
||||||
# tue = [{after='21:00', before='7:00'}]
|
|
||||||
# wed = [{after='21:00', before='7:00'}]
|
|
||||||
# thu = [{after='21:00', before='7:00'}]
|
|
||||||
# fri = [{after='23:00', before='7:00'}]
|
|
||||||
# sat = [{after='23:00', before='7:00'}]
|
|
||||||
# sun = [{after='21:00', before='7:00'}]
|
|
||||||
|
|
||||||
# [schedules.'work']
|
|
||||||
# mon = [{after='9:00', before='18:00'}]
|
|
||||||
# tue = [{after='9:00', before='18:00'}]
|
|
||||||
# wed = [{after='9:00', before='18:00'}]
|
|
||||||
# thu = [{after='9:00', before='18:00'}]
|
|
||||||
# fri = [{after='9:00', before='17:00'}]
|
|
||||||
|
|
Loading…
Reference in New Issue