But, when I try to view, for example, a image from something like http://s.mydomain.com/image.jpg, It redirects me to http://s.myDEFAULT_FIRST_DIGITAL_OCEANdomain.com/image.jpg (with 404 error, obviously).
Any suggestion?
PS: I am using nginx.
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!
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.
I added the following in my nginx site config, and problem fixed! But I am not sure if it’s the correct way to solve the problem.
<br>
<br>server {
<br> listen 8080; (NOTE: I’m using varnish)
<br> server_name s.mydomain.com;
<br> rewrite ^ $scheme://mydomain.netdna-cdn.com$uri;
<br>}
The developer cloud
Scale up as you grow — whether you're running one virtual machine or ten thousand.
From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.