Updated conf

Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
master
Marcus Noble 5 months ago
parent 94d6b10802
commit 5fba8d82e6
Signed by: AverageMarcus
GPG Key ID: B8F2DB8A7AEBAF78
  1. 11
      default.conf

@ -1,6 +1,5 @@
server {
listen 80;
listen [::]:80;
server_name localhost;
rewrite ^/dont-reuse-keys/?$ https://marcusnoble.co.uk/2020-10-03-t-i-l-don-t-reuse-api-keys/ permanent;
@ -15,5 +14,15 @@ server {
rewrite ^/yaml-key-spaces/?$ https://marcusnoble.co.uk/2021-05-11-t-i-l-yaml-keys-allow-for-spaces-in-them/ permanent;
rewrite ^/yaml-multiline/?$ https://marcusnoble.co.uk/2020-09-17-t-i-l-yaml-multiline-values/ permanent;
rewrite ^/?$ https://marcusnoble.co.uk/ permanent;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
}

Loading…
Cancel
Save