Set cURL to use local virtual hosts

后端 未结 7 1645
囚心锁ツ
囚心锁ツ 2020-11-28 01:37

Using Apache or Ngnix I always create development sites based on real projects such as http://project1.loc which, after adding to my .hosts file, t

7条回答
  •  [愿得一人]
    2020-11-28 01:44

    Either use a real fully qualified domain name (like dev.yourdomain.com) that pointing to 127.0.0.1 or try editing the proper hosts file (usually /etc/hosts in *nix environments).

提交回复
热议问题