replace .dev with .test to avoid issues with the new google chrome

This commit is contained in:
Mahmoud Zalt
2017-12-17 21:35:31 +01:00
parent 71cc109334
commit ad3698670b
8 changed files with 19 additions and 19 deletions

View File

@ -1002,7 +1002,7 @@ To install CodeIgniter 3 on Laradock all you have to do is the following simple
4 - Run `docker-compose restart` if the container was already running, before the step above.
5 - Visit `symfony.dev`
5 - Visit `symfony.test`
<br>
<a name="Misc"></a>
@ -1167,21 +1167,21 @@ If you need <a href="#MySQL-access-from-host">MySQL access from your host</a>, d
<a name="Use-custom-Domain"></a>
## Use custom Domain (instead of the Docker IP)
Assuming your custom domain is `laravel.dev`
Assuming your custom domain is `laravel.test`
1 - Open your `/etc/hosts` file and map your localhost address `127.0.0.1` to the `laravel.dev` domain, by adding the following:
1 - Open your `/etc/hosts` file and map your localhost address `127.0.0.1` to the `laravel.test` domain, by adding the following:
```bash
127.0.0.1 laravel.dev
127.0.0.1 laravel.test
```
2 - Open your browser and visit `{http://laravel.dev}`
2 - Open your browser and visit `{http://laravel.test}`
Optionally you can define the server name in the NGINX configuration file, like this:
```conf
server_name laravel.dev;
server_name laravel.test;
```

View File

@ -121,8 +121,8 @@ You can rename the config files, project folders and domains as you like, just m
4 - Add the domains to the **hosts** files.
```
127.0.0.1 project-1.dev
127.0.0.1 project-2.dev
127.0.0.1 project-1.test
127.0.0.1 project-2.test
...
```
If you use Chrome 63 or above for development, don't use `.dev`. [Why?](https://laravel-news.com/chrome-63-now-forces-dev-domains-https). Instead use `.localhost`, `.invalid`, `.test`, or `.example`.
@ -214,4 +214,4 @@ DB_HOST=mysql
*If you want to install Laravel as PHP project, see [How to Install Laravel in a Docker Container](#Install-Laravel).*
<br>
5 - Open your browser and visit your localhost address `http://localhost/`. If you followed the multiple projects setup, you can visit `http://project-1.dev/` and `http://project-2.dev/`.
5 - Open your browser and visit your localhost address `http://localhost/`. If you followed the multiple projects setup, you can visit `http://project-1.test/` and `http://project-2.test/`.