Commit 6e820b22 authored by Owain Jones's avatar Owain Jones
Browse files

added some more exception catching for missing files e.g. favicon.ico and...

added some more exception catching for missing files e.g. favicon.ico and people still trying to go to the old website
parent 5df0d0d0
...@@ -45,6 +45,24 @@ server { ...@@ -45,6 +45,24 @@ server {
try_files $uri @rewriteapp; try_files $uri @rewriteapp;
} }
location /mission.php {
return 301 /missions;
}
location /glider/mission.php {
return 301 /missions;
}
location /glider {
return 301 /;
}
location /favicon.ico {
return 404;
access_log off;
error_log off;
}
error_page 413 /413.html; error_page 413 /413.html;
error_page 502 /502.html; error_page 502 /502.html;
error_page 504 /504.html; error_page 504 /504.html;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment