Add 300 addendum
This commit is contained in:
parent
5cfac7a2a3
commit
2e508dc78f
8 changed files with 113 additions and 11 deletions
|
@ -114,8 +114,9 @@ server {
|
|||
|
||||
location /.git {
|
||||
# There is no standard way to present options, but in the rare cases that 300 is used it just has a list of links. The Location header is for preferred thing.
|
||||
default_type "text/html";
|
||||
add_header Location "https://git.askiiart.net/askiiart/askiiart-net";
|
||||
add_header Link '<https://git.askiiart.net/askiiart/askiiart-net>; rel="alternate"; "';
|
||||
add_header Link '<https://github.com/askiiart/askiiart.github.io>; rel="alternate"; "';
|
||||
return 300 '<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"></head><body><a href="https://git.askiiart.net/askiiart/askiiart-net">Self-hosted</a><br><a href="https://github.com/askiiart/askiiart-net">GitHub</a></body></html>';
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue