parent
2e508dc78f
commit
c32c4e29d6
8 changed files with 11 additions and 113 deletions
|
@ -114,9 +114,8 @@ 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