₿rMoon on Nostr: Trying to get your NIP-05 identity self hosted? If your domain has a Wordpress site, ...
Trying to get your NIP-05 identity self hosted?
If your domain has a Wordpress site, try this technique to enable CORS. Modify the .htaccess file (using ssh or ftp) by adding these lines to the top of the file:
# Set CORS
<FilesMatch nostr.json>
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"
</IfModule>
</FilesMatch>
# Set CORS
Published at
2023-03-04 18:25:19Event JSON
{
"id": "ba72f61fbb4f9fece27e23715b2e3aa1023d4e90bff6da72227090d7aa1c4af4",
"pubkey": "7edef9bf36f13cf17ea40d5f7f84459dc9d92e38bf23a5cc77fa603c4eb947f7",
"created_at": 1677954319,
"kind": 1,
"tags": [],
"content": "Trying to get your NIP-05 identity self hosted? \n\nIf your domain has a Wordpress site, try this technique to enable CORS. Modify the .htaccess file (using ssh or ftp) by adding these lines to the top of the file:\n\n# Set CORS\n\u003cFilesMatch nostr.json\u003e\n\u003cIfModule mod_headers.c\u003e\n Header set Access-Control-Allow-Origin \"*\"\n\u003c/IfModule\u003e\n\u003c/FilesMatch\u003e\n# Set CORS",
"sig": "e184aad3907e2867222c2e34e96bf8851d392436cc406a2c5fff49af0aa78217f86433f707f6601a114b0909a06cec2c264e018669d5c9842e194dc38b053118"
}