I have 1 linode instance where I am hosting to websites. I have an issue where if I do not input www.* then it seems I get redirected to the wrong website. So the 2 domains I have are sustainablelife.tips and threadcache.com If I go to www.threadcache.com I am correctly taken to the website. But if I enter threadcache.com then it takes me to sustainablelife.tips. So here is my nginx seby truetaurus - How to...
In my nginx server block I have allowed access but I still get the message: Access to XMLHttpRequest at 'http://api.mywebsite.com/tags/' from origin 'http://mywebsite.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. This is how my server block looks like: server { listen 80; server_name mywebsite.com;by truetaurus - How to...
You can close this topic.by truetaurus - How to...
When I do a request inside a node app of mine, I will do it to something like this: api.make.tube/{endpoint} My current server block file looks like this: server { listen 80; location / { proxy_pass http://localhost:3000; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; } }by truetaurus - How to...