Page MenuHomeDevCentral

Set nginx headers for /.well-known/host-meta
ClosedPublic

Authored by aceppaluni on Sep 8 2024, 21:57.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 8, 07:46
Unknown Object (File)
Fri, Nov 8, 07:21
Unknown Object (File)
Fri, Nov 8, 06:51
Unknown Object (File)
Fri, Nov 8, 06:40
Unknown Object (File)
Thu, Nov 7, 22:42
Unknown Object (File)
Thu, Nov 7, 22:22
Unknown Object (File)
Thu, Nov 7, 21:39
Unknown Object (File)
Thu, Nov 7, 21:36
Subscribers
None

Details

Summary

CORS headers allow any other website to load this document.

Default type allows browsers to print the document as XML.

Test Plan

Deployed to www51.

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
main
Build Status
Buildable 5477
Build 5758: arc lint + arc unit

Event Timeline

aceppaluni created this revision.

Tested on WindRiver with www51., headers work fine ✔️

Removed extra white space from www51.conf file.

aceppaluni retitled this revision from Updated conf files with new location for host-meta to Updated Nginx files to include location for host-meta XML file..Sep 9 2024, 14:44
aceppaluni edited the summary of this revision. (Show Details)
aceppaluni retitled this revision from Updated Nginx files to include location for host-meta XML file. to Updated Nginx to add host-meta XML location.Sep 9 2024, 14:59
aceppaluni edited the summary of this revision. (Show Details)
dereckson retitled this revision from Updated Nginx to add host-meta XML location to Set headers for /.well-known/host-meta.
dereckson edited the summary of this revision. (Show Details)
dereckson edited the test plan for this revision. (Show Details)
dereckson retitled this revision from Set headers for /.well-known/host-meta to Set nginx headers for /.well-known/host-meta.
This revision is now accepted and ready to land.Sep 10 2024, 17:46

Tested on both www51. and www. sites.

dereckson added inline comments.
roles/webserver-alkane/nginx/files/vhosts/nasqueron.org/www.conf
45

We've decided to change to application/xrd+xml per conversations.im compliance suite tests suggestion (test pass with text/xml too).

This revision was automatically updated to reflect the committed changes.