]> git.r.bdr.sh - rbdr/ngx_http_office_hours_filter_module/commitdiff
Add an example configuration
authorBen Beltran <redacted>
Mon, 12 Nov 2018 22:15:18 +0000 (23:15 +0100)
committerBen Beltran <redacted>
Mon, 12 Nov 2018 22:15:18 +0000 (23:15 +0100)
doc/example_configuration [new file with mode: 0644]

diff --git a/doc/example_configuration b/doc/example_configuration
new file mode 100644 (file)
index 0000000..136f7b8
--- /dev/null
@@ -0,0 +1,15 @@
+server {
+
+        listen 80;
+
+        root /var/www/blog;
+        index index.html index.htm;
+
+        server_name blog.unlimited.pizza;
+
+        office_hours 8:30-20 10-16 closed;
+
+        location / {
+                try_files $uri $uri/ =404;
+        }
+}