实现 MLS 设备封包投递与离线同步

This commit is contained in:
xhgit committed 2026-11-13 18:21:09 +08:00
1 parent 53164d0fa8
commit f30f01b699
15 files changed
+366 -16

No files matched your search

+6
View File
@@ -11,6 +11,12 @@ server {
access_log off;
client_max_body_size 8k;
location = /api/v1/inbox {
client_max_body_size 96k;
proxy_pass http://api:8080;
proxy_set_header Host $http_host;
}
add_header Content-Security-Policy "default-src 'none'; script-src 'self'; style-src 'self'; connect-src 'self'; form-action 'self'; base-uri 'none'; frame-ancestors 'none'" always;
add_header Referrer-Policy no-referrer always;
add_header X-Content-Type-Options nosniff always;