X-Git-Url: https://git.r.bdr.sh/rbdr/r.bdr.sh/blobdiff_plain/7b8c1eadd0a377c1efc2271fd3ebe002a265aba8..61655f3c59f30d6e9e23df078ab6cdf59c205236:/nginx_office_hours.gmi?ds=inline diff --git a/nginx_office_hours.gmi b/nginx_office_hours.gmi index 64fa63e..8f5ce13 100644 --- a/nginx_office_hours.gmi +++ b/nginx_office_hours.gmi @@ -4,8 +4,8 @@ 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.sr.ht/~rbdr/ngx_http_office_hours_filter_module source mirror @ sourcehut +=> https://git.r.bdr.sh/rbdr/ngx_http_office_hours_filter_module ⧇ source +=> https://git.sr.ht/~rbdr/ngx_http_office_hours_filter_module ⧉ mirror ## Install @@ -44,7 +44,7 @@ Don't use this directive. ``` location / { office_hours 8:30-19; - } +} ``` ### Example 3: Open monday to saturday from 08:30 AM to 7:00 PM, but closed sundays @@ -52,7 +52,7 @@ location / { ``` 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 @@ -60,7 +60,7 @@ location / { ``` 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. @@ -68,7 +68,7 @@ location / { ``` location / { office_hours 8:30-19 closed 8:30-19 10-16 10-16; - } +} ``` ### Example 6: Closed every day. @@ -83,5 +83,5 @@ With this directive you can specify additional information for when the server i location / { office_hours_additional_information "

Additional Information>

Please do not email us asking to open the website 24/7. Send all complaints to friendship.quest/@ruben

" - } +} ```