Page MenuHomeDevCentral

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

Authored by aceppaluni on Sep 8 2024, 21:57.
Tags
None
Referenced Files
F3780856: D3437.diff
Mon, Nov 25, 17:11
Unknown Object (File)
Fri, Nov 22, 17:34
Unknown Object (File)
Fri, Nov 22, 13:47
Unknown Object (File)
Fri, Nov 22, 11:24
Unknown Object (File)
Thu, Nov 21, 04:06
Unknown Object (File)
Tue, Nov 19, 07:05
Unknown Object (File)
Tue, Nov 12, 22:55
Unknown Object (File)
Tue, Nov 12, 20:51
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 Not Applicable
Unit
Tests Not Applicable

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.