about summary refs log tree commit diff
path: root/templates/nginx.conf.j2
diff options
context:
space:
mode:
Diffstat (limited to 'templates/nginx.conf.j2')
-rw-r--r--templates/nginx.conf.j23
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/nginx.conf.j2 b/templates/nginx.conf.j2
index 2927af8..2cc027d 100644
--- a/templates/nginx.conf.j2
+++ b/templates/nginx.conf.j2
@@ -62,5 +62,8 @@ server {
   location = /50x.html {
     root /usr/share/nginx/html;
   }
+  location ~ (\.env|wp-login\.php|wp-admin) {
+    return 301 https://www.youtube.com/watch?v=dQw4w9WgXcQ;
+  }
 
 }