Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed attempt to use this plugin #255

Open
1 task done
papiermache opened this issue Oct 10, 2024 · 2 comments
Open
1 task done

Failed attempt to use this plugin #255

papiermache opened this issue Oct 10, 2024 · 2 comments
Labels
type:bug Something isn’t working.

Comments

@papiermache
Copy link

papiermache commented Oct 10, 2024

Describe the bug

(note - we are using CloudFlare as our DNS provider)
I have successfully configured the plugin to use my Azure storage account "wpdata" and default container "uploads".

Now attempting to use the CNAME feature: as per docs have created CNAME: "media" and referencing ""blob.core.windows.net".
Uploading a test file via wordpress library media upload, and plugin works - the file ended up in correct Azure blob container "uploads".

However - the library (and Azure Storage Explorer) show the file URL's to be "https://media.<mywebsite.com>/uploads/..." - which means the CNAME should be .. not "blob.core.windows.net" but instead "wpdata.blob.core.windows.net".

BUT -this gives a cert error -the cert is only for "*.blob.core.windows.net" (only one wildcard level).

Any help on getting a viable solution would be greatly appreciated.
Rick.

Steps to Reproduce

see above

Screenshots, screen recording, code snippet

No response

Environment information

No response

WordPress information

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@papiermache papiermache added the type:bug Something isn’t working. label Oct 10, 2024
@rickalee
Copy link
Collaborator

@papiermache This is likely a configuration issue and we would recommend utilizing MICROSOFT_AZURE_CNAME constant in wp-config once you have proxy below in place.

Page Rules in Cloudflare for subdomain proxy:
https://community.cloudflare.com/t/reverse-proxy-based-on-a-path/143610
https://developers.cloudflare.com/rules/page-rules/how-to/override-url-or-ip-address/

@papiermache
Copy link
Author

papiermache commented Oct 11, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn’t working.
Projects
Status: Incoming
Development

No branches or pull requests

2 participants