diff --git a/etc/nginx.conf b/etc/nginx.conf index 9a51249..5220462 100644 --- a/etc/nginx.conf +++ b/etc/nginx.conf @@ -90,6 +90,11 @@ http { index index.html index.xml; } + # deny access to draft posts + location ~ ^/drafts/ { + deny all; + } + # Rewrites rewrite ^/qr$ / permanent;