From db4ec760f4c5a2d2a881ff2ff86143f33d6decd0 Mon Sep 17 00:00:00 2001 From: Paweł Dybiec Date: Sun, 24 May 2020 23:38:17 +0200 Subject: Add my website --- templates/nginx.conf.j2 | 3 +++ 1 file changed, 3 insertions(+) (limited to 'templates/nginx.conf.j2') 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; + } } -- cgit 1.4.1