diff options
author | Paweł Dybiec <pawel@dybiec.info> | 2020-05-24 23:38:17 +0200 |
---|---|---|
committer | Paweł Dybiec <pawel@dybiec.info> | 2020-05-24 23:38:17 +0200 |
commit | db4ec760f4c5a2d2a881ff2ff86143f33d6decd0 (patch) | |
tree | 470cf9ab6a33585242147fd26d91ba264d313f1d /templates | |
parent | Add cs map service (diff) |
Add my website
Diffstat (limited to 'templates')
-rw-r--r-- | templates/nginx.conf.j2 | 3 |
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; + } } |