Jan 9, 2016
0
Level 28
Laravel redirect issue with domain and forge.
So my issue is that i've few subdomains on apache and laravel app on example.com. Now i moved to forge, and forge is not letting me redirect to www and every time i visit subdomains they are hitting, nginx (forge) server and not picking it at apache server.
I used Curl -I to check the host for my subdomain. sub.example.com
HTTP/1.1 200 OK
Server: nginx
Date: Sun, 10 Jan 2016 00:36:12 GMT
Content-Type: text/html; charset=utf-8
Connection: close
My question.
How do i remove the following from sites-available or sites-enabled in /etc/nginx/
return 301 $scheme //domain.com$request_uri
Please or to participate in this conversation.