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)
Sat, Dec 21, 04:26
Unknown Object (File)
Fri, Dec 20, 03:53
Unknown Object (File)
Tue, Dec 17, 10:14
Unknown Object (File)
Tue, Dec 17, 05:02
Unknown Object (File)
Tue, Dec 17, 05:01
Unknown Object (File)
Sun, Dec 15, 23:13
Unknown Object (File)
Sun, Dec 15, 23:12
Unknown Object (File)
Sun, Dec 15, 23:12
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.