mirror of
https://github.com/kou029w/fogtype.com
synced 2025-01-17 23:55:02 +00:00
add access-control-allow-origin
This commit is contained in:
parent
222bd35dd2
commit
9ad9036bd0
1 changed files with 14 additions and 0 deletions
|
@ -10,6 +10,20 @@ www.fogtype.com {
|
|||
redir https://fogtype.com{uri} 308
|
||||
}
|
||||
net.fogtype.com {
|
||||
@options {
|
||||
method OPTIONS
|
||||
}
|
||||
|
||||
handle @options {
|
||||
header {
|
||||
access-control-allow-origin https://headscale.fogtype.com
|
||||
access-control-allow-methods *
|
||||
access-control-allow-headers *
|
||||
}
|
||||
respond 204
|
||||
}
|
||||
|
||||
header access-control-allow-origin https://headscale.fogtype.com
|
||||
reverse_proxy headscale:8080
|
||||
}
|
||||
mta-sts.fogtype.com {
|
||||
|
|
Loading…
Add table
Reference in a new issue