Skip to content

Commit b0c3d38

Browse files
committed
add content about skip domain entry creation
1 parent e6cdd22 commit b0c3d38

File tree

7 files changed

+60
-0
lines changed

7 files changed

+60
-0
lines changed

deployment/cgi/index.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,14 @@ Command above, will create virtual host for Apache web server, enabled virtual h
1919

2020
Because nginx does not support running CGI program, when you use `--web-server=nginx`, it does nothing.
2121

22+
### Skip adding domain name entry in /etc/hosts
23+
24+
By default `--deploy-cgi` parameter will cause domain name entry is added in `/etc/hosts` file. You may want to setup domain name with DNS server manually or you do not want to mess up with `/etc/hosts` file. You can avoid it by adding `--skip-etc-hosts` parameter.
25+
26+
```
27+
$ sudo fanocli --deploy-cgi=myapp.me --skip-etc-hosts
28+
```
29+
2230
### Generate virtual host config to standard output
2331

2432
If you want to generate virtual host configuration without actually modifying

deployment/fastcgi/index.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,18 @@ To deploy FastCGI web application for Apache mod_fcgid, run with `--deploy-fcgid
4242
$ sudo fanocli --deploy-fcgid=myapp.me
4343
```
4444

45+
### Skip adding domain name entry in /etc/hosts
46+
47+
By default `--deploy-fcgi` or `--deploy-fcgid` parameter will cause domain name entry is added in `/etc/hosts` file. You may want to setup domain name with DNS server manually or you do not want to mess up with `/etc/hosts` file. You can avoid it by adding `--skip-etc-hosts` parameter.
48+
49+
```
50+
$ sudo fanocli --deploy-fcgi=myapp.me --skip-etc-hosts
51+
```
52+
or
53+
```
54+
$ sudo fanocli --deploy-fcgid=myapp.me --skip-etc-hosts
55+
```
56+
4557
### Generate virtual host config to standard output
4658

4759
If you want to generate virtual host configuration without actually modifying

deployment/load-balancer-setup/apache/index.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,14 @@ Command above, will create virtual host for Apache web server that utilize `mod_
5050

5151
Replace with `--deploy-lb-fcgi`, `--deploy-lb-uwsgi` or `--deploy-lb-http` for setting up FastCGI, uwsgi or http web application respectively.
5252

53+
### Skip adding domain name entry in /etc/hosts
54+
55+
By default `--deploy-*` parameter will cause domain name entry is added in `/etc/hosts` file. You may want to setup domain name with DNS server manually or you do not want to mess up with `/etc/hosts` file. You can avoid it by adding `--skip-etc-hosts` parameter.
56+
57+
```
58+
$ sudo fanocli --deploy-lb-scgi=myapp.fano --skip-etc-hosts
59+
```
60+
5361
### Generate virtual host config to standard output
5462

5563
If you want to generate virtual host configuration without actually modifying

deployment/load-balancer-setup/nginx/index.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,14 @@ $ sudo fanocli --deploy-lb-scgi=myapp.fano --web-server=nginx
2424

2525
Replace with `--deploy-lb-fcgi`, `--deploy-lb-uwsgi` or `--deploy-lb-http` for setting up FastCGI, uwsgi or http web application respectively.
2626

27+
### Skip adding domain name entry in /etc/hosts
28+
29+
By default `--deploy-*` parameter will cause domain name entry is added in `/etc/hosts` file. You may want to setup domain name with DNS server manually or you do not want to mess up with `/etc/hosts` file. You can avoid it by adding `--skip-etc-hosts` parameter.
30+
31+
```
32+
$ sudo fanocli --deploy-lb-scgi=myapp.fano --skip-etc-hosts
33+
```
34+
2735
### Generate virtual host config to standard output
2836

2937
If you want to generate virtual host configuration without actually modifying

deployment/scgi/index.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,14 @@ $ sudo fanocli --deploy-scgi=myapp.me --web-server=nginx
3333

3434
If you want to setup manually without Fano CLI, read section below.
3535

36+
### Skip adding domain name entry in /etc/hosts
37+
38+
By default `--deploy-*` parameter will cause domain name entry is added in `/etc/hosts` file. You may want to setup domain name with DNS server manually or you do not want to mess up with `/etc/hosts` file. You can avoid it by adding `--skip-etc-hosts` parameter.
39+
40+
```
41+
$ sudo fanocli --deploy-scgi=myapp.fano --skip-etc-hosts
42+
```
43+
3644
### Generate virtual host config to standard output
3745

3846
If you want to generate virtual host configuration without actually modifying

deployment/standalone-web-server/index.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,14 @@ $ sudo fanocli --deploy-http=myapp.me --web-server=nginx
2929

3030
If you want to setup manually without Fano CLI, read section below.
3131

32+
### Skip adding domain name entry in /etc/hosts
33+
34+
By default `--deploy-*` parameter will cause domain name entry is added in `/etc/hosts` file. You may want to setup domain name with DNS server manually or you do not want to mess up with `/etc/hosts` file. You can avoid it by adding `--skip-etc-hosts` parameter.
35+
36+
```
37+
$ sudo fanocli --deploy-http=myapp.me --skip-etc-hosts
38+
```
39+
3240
### Generate virtual host config to standard output
3341

3442
If you want to generate virtual host configuration without actually modifying

deployment/uwsgi/index.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,14 @@ $ sudo fanocli --deploy-uwsgi=myapp.me --web-server=nginx
3333

3434
If you want to setup manually without Fano CLI, read section below.
3535

36+
### Skip adding domain name entry in /etc/hosts
37+
38+
By default `--deploy-*` parameter will cause domain name entry is added in `/etc/hosts` file. You may want to setup domain name with DNS server manually or you do not want to mess up with `/etc/hosts` file. You can avoid it by adding `--skip-etc-hosts` parameter.
39+
40+
```
41+
$ sudo fanocli --deploy-uwsgi=myapp.me --skip-etc-hosts
42+
```
43+
3644
### Generate virtual host config to standard output
3745

3846
If you want to generate virtual host configuration without actually modifying

0 commit comments

Comments
 (0)