diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2022-12-15 12:16:08 -0500 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2022-12-15 12:16:08 -0500 |
| commit | fb5b72e121c78929e394e24bbe29f05f957c76c2 (patch) | |
| tree | c6a8546a07adee0f18d8836b6c5b352d3060c72d | |
| parent | 070ab919607a160316019744dffbd13e927b236e (diff) | |
add empty traffic-advice configuration
| -rw-r--r-- | nginx/nginx.conf | 4 | ||||
| -rw-r--r-- | static/.well-known/traffic-advice | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 9d4b0fe7..f991e795 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -335,6 +335,10 @@ http { default_type application/json; } + location = /.well-known/traffic-advice { + default_type application/trafficadvice+json; + } + location = / { include snippets/security-headers.conf; add_header Cross-Origin-Resource-Policy "same-origin" always; diff --git a/static/.well-known/traffic-advice b/static/.well-known/traffic-advice new file mode 100644 index 00000000..fe51488c --- /dev/null +++ b/static/.well-known/traffic-advice @@ -0,0 +1 @@ +[] |
