forked from wezm/wezm.net
Deny access to draft posts in nginx
This commit is contained in:
parent
11d695ffe7
commit
9398ffc5f6
1 changed files with 5 additions and 0 deletions
|
@ -90,6 +90,11 @@ http {
|
|||
index index.html index.xml;
|
||||
}
|
||||
|
||||
# deny access to draft posts
|
||||
location ~ ^/drafts/ {
|
||||
deny all;
|
||||
}
|
||||
|
||||
# Rewrites
|
||||
rewrite ^/qr$ / permanent;
|
||||
|
||||
|
|
Loading…
Reference in a new issue