mirror of
https://github.com/kou029w/fogtype.com
synced 2025-01-18 08:05:02 +00:00
setup mta-sts policy
This commit is contained in:
parent
93a9c6dea5
commit
e7dc9e05ce
2 changed files with 10 additions and 1 deletions
|
@ -9,7 +9,6 @@ fogtype.com {
|
|||
header access-control-allow-origin *
|
||||
file_server
|
||||
}
|
||||
reverse_proxy /.well-known/mta-sts.txt host.docker.internal:8081
|
||||
reverse_proxy http://gts:8080
|
||||
}
|
||||
www.fogtype.com {
|
||||
|
@ -22,6 +21,12 @@ dns.fogtype.com {
|
|||
}
|
||||
}
|
||||
}
|
||||
mta-sts.fogtype.com {
|
||||
handle /.well-known/mta-sts.txt {
|
||||
file_server
|
||||
}
|
||||
redir / /.well-known/mta-sts.txt
|
||||
}
|
||||
task.fogtype.com {
|
||||
reverse_proxy /.well-known/* vikunja-api:3456
|
||||
reverse_proxy /api/* vikunja-api:3456
|
||||
|
|
4
srv/.well-known/mta-sts.txt
Normal file
4
srv/.well-known/mta-sts.txt
Normal file
|
@ -0,0 +1,4 @@
|
|||
version: STSv1
|
||||
mode: enforce
|
||||
max_age: 86400
|
||||
mx: fogtype.com
|
Loading…
Add table
Reference in a new issue