Page MenuHomeDevCentral

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

Authored by aceppaluni on Sun, Sep 8, 21:57.
Tags
None
Referenced Files
F3584733: D3437.id8875.diff
Wed, Sep 18, 12:33
Unknown Object (File)
Tue, Sep 17, 12:36
Unknown Object (File)
Tue, Sep 17, 11:02
Unknown Object (File)
Sat, Sep 14, 19:21
Unknown Object (File)
Sat, Sep 14, 19:18
Unknown Object (File)
Sat, Sep 14, 15:39
Unknown Object (File)
Sat, Sep 14, 14:41
Unknown Object (File)
Sat, Sep 14, 08:44
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..Mon, Sep 9, 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.Mon, Sep 9, 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.Tue, Sep 10, 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.