I'm trying to move a website to a new server with a domain name
The old site is an ASP.net application running on IIS
The new site is a Laravel app on nginx
The old site's domain is:
the new website is
This is a snippet of my nginx conf
server {
listen 80;
listen [::]:80;
server_name newdomain.com;
}
Is this the proper way to redirect?
server {
listen 80;
listen [::]:80;
server_name newdomain.com;
location = http://ift.tt/2lgzZ2g {
return 301 /
}
location = http://ift.tt/2kJmSTD {
return 301 /
}
location = http://ift.tt/2lgIeLL {
return 301 /some/other/new/path
}
}
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2kJkYSQ
via IFTTT
Aucun commentaire:
Enregistrer un commentaire