Or ngx_http_office_hours_filter_module for short, it's a module for nginx that lets you specify a schedule and only serve content during that time.
-=> https://git.unlimited.pizza/rbdr/ngx_http_office_hours_filter_module view source @ git.unlimited.pizza
+=> https://git.r.bdr.sh/rbdr/ngx_http_office_hours_filter_module view source @ git.r.bdr.sh
=> https://git.sr.ht/~rbdr/ngx_http_office_hours_filter_module source mirror @ sourcehut
## Install
```
location / {
office_hours 8:30-19;
- }
+}
```
### Example 3: Open monday to saturday from 08:30 AM to 7:00 PM, but closed sundays
```
location / {
office_hours 8:30-19 closed;
- }
+}
```
### Example 4: Open weekdays from 08:30 AM to 7:00 PM, Saturdays 10:00 AM to 4:00 PM, closed on sundays
```
location / {
office_hours 8:30-19 10-16 closed;
- }
+}
```
### Example 5: Open weekdays from 08:30 AM to 7:00 PM, closed on thursdays, reduced hours on weekends.
```
location / {
office_hours 8:30-19 closed 8:30-19 10-16 10-16;
- }
+}
```
### Example 6: Closed every day.
location / {
office_hours_additional_information "<h1>Additional Information></h1>
<p>Please do not email us asking to open the website 24/7. Send all complaints to friendship.quest/@ruben</p>"
- }
+}
```