Skip to content

Commit ad36986

Browse files
committed
replace .dev with .test to avoid issues with the new google chrome
1 parent 71cc109 commit ad36986

8 files changed

Lines changed: 19 additions & 19 deletions

File tree

.github/README-zh.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -669,19 +669,19 @@ PHP-CLI 安装在 Workspace 容器,改变 PHP-CLI 版本你需要编辑 `works
669669
<a name="Use-custom-Domain"></a>
670670
### 使用自定义域名 (替换 Docker 的 IP)
671671

672-
假定你的自定义域名是 `laravel.dev`
672+
假定你的自定义域名是 `laravel.test`
673673

674-
1 - 打开 `/etc/hosts` 文件添加以下内容,映射你的 localhost 地址 `127.0.0.1` 为 `laravel.dev` 域名
674+
1 - 打开 `/etc/hosts` 文件添加以下内容,映射你的 localhost 地址 `127.0.0.1` 为 `laravel.test` 域名
675675
```bash
676-
127.0.0.1 laravel.dev
676+
127.0.0.1 laravel.test
677677
```
678678

679-
2 - 打开你的浏览器访问 `{http://laravel.dev}`
679+
2 - 打开你的浏览器访问 `{http://laravel.test}`
680680

681681
你可以在 nginx 配置文件自定义服务器名称,如下:
682682

683683
```conf
684-
server_name laravel.dev;
684+
server_name laravel.test;
685685
```
686686

687687
<a name="Enable-Global-Composer-Build-Install"></a>

DOCUMENTATION/content/documentation/index.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1002,7 +1002,7 @@ To install CodeIgniter 3 on Laradock all you have to do is the following simple
10021002

10031003
4 - Run `docker-compose restart` if the container was already running, before the step above.
10041004

1005-
5 - Visit `symfony.dev`
1005+
5 - Visit `symfony.test`
10061006

10071007
<br>
10081008
<a name="Misc"></a>
@@ -1167,21 +1167,21 @@ If you need <a href="#MySQL-access-from-host">MySQL access from your host</a>, d
11671167
<a name="Use-custom-Domain"></a>
11681168
## Use custom Domain (instead of the Docker IP)
11691169

1170-
Assuming your custom domain is `laravel.dev`
1170+
Assuming your custom domain is `laravel.test`
11711171

1172-
1 - Open your `/etc/hosts` file and map your localhost address `127.0.0.1` to the `laravel.dev` domain, by adding the following:
1172+
1 - Open your `/etc/hosts` file and map your localhost address `127.0.0.1` to the `laravel.test` domain, by adding the following:
11731173

11741174
```bash
1175-
127.0.0.1 laravel.dev
1175+
127.0.0.1 laravel.test
11761176
```
11771177

1178-
2 - Open your browser and visit `{http://laravel.dev}`
1178+
2 - Open your browser and visit `{http://laravel.test}`
11791179

11801180

11811181
Optionally you can define the server name in the NGINX configuration file, like this:
11821182

11831183
```conf
1184-
server_name laravel.dev;
1184+
server_name laravel.test;
11851185
```
11861186

11871187

DOCUMENTATION/content/getting-started/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ You can rename the config files, project folders and domains as you like, just m
121121
4 - Add the domains to the **hosts** files.
122122

123123
```
124-
127.0.0.1 project-1.dev
125-
127.0.0.1 project-2.dev
124+
127.0.0.1 project-1.test
125+
127.0.0.1 project-2.test
126126
...
127127
```
128128
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
214214
*If you want to install Laravel as PHP project, see [How to Install Laravel in a Docker Container](#Install-Laravel).*
215215

216216
<br>
217-
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/`.
217+
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/`.

apache2/sites/default.apache.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<VirtualHost *:80>
2-
ServerName laradock.dev
2+
ServerName laradock.test
33
DocumentRoot /var/www/
44
Options Indexes FollowSymLinks
55

apache2/sites/sample.conf.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<VirtualHost *:80>
2-
ServerName sample.dev
2+
ServerName sample.test
33
DocumentRoot /var/www/sample/public/
44
Options Indexes FollowSymLinks
55

nginx/sites/app.conf.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ server {
33
listen 80;
44
listen [::]:80;
55

6-
server_name app.dev;
6+
server_name app.test;
77
root /var/www/app;
88
index index.php index.html index.htm;
99

nginx/sites/laravel.conf.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ server {
33
listen 80;
44
listen [::]:80;
55

6-
server_name laravel.dev;
6+
server_name laravel.test;
77
root /var/www/laravel/public;
88
index index.php index.html index.htm;
99

nginx/sites/symfony.conf.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ server {
33
listen 80;
44
listen [::]:80;
55

6-
server_name symfony.dev;
6+
server_name symfony.test;
77
root /var/www/projects/symfony/web;
88
index index.php index.html index.htm;
99

0 commit comments

Comments
 (0)