Question

NGINX cant access files on my site from another site. Getting 301 Error.

I have a strange problem. I am trying to base64 encode some images on my site with the help of --> http://www.greywyvern.com/code/php/binary2base64 site.

When I fill in the url of --> https://www.damircalusic.se/wk-templates/img/damir-calusic.jpg and try to convert the 301 error appears.

Then I tried to see how my site looks like in responsive mode so I tried to use --> http://www.studiopress.com/responsive/, http://jamus.co.uk/demos/rwd-demonstrations/ and http://responsivepx.com/ but they can’t access my site.

I must have configured the site wrong.

Does anyone have experience with this and could help me to the right path? If you need the Config I will put it in.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

It looks like an issue with that binary2base64 website itself. I’ve converted the image to base64 for you: damir-calusic.jpg.base64. You can do that yourself from the CLI by running:

curl -s https://www.damircalusic.se/wk-templates/img/damir-calusic.jpg | base64 > damir-calusic.jpg.base64