aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorPaweł Dybiec <pawel@dybiec.info>2020-05-24 23:38:17 +0200
committerPaweł Dybiec <pawel@dybiec.info>2020-05-24 23:38:17 +0200
commitdb4ec760f4c5a2d2a881ff2ff86143f33d6decd0 (patch)
tree470cf9ab6a33585242147fd26d91ba264d313f1d /templates
parentAdd cs map service (diff)
Add my website
Diffstat (limited to 'templates')
-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;
+ }
}