Skip to content

Commit 27e256d

Browse files
committed
Update default host data
1 parent e982748 commit 27e256d

File tree

4 files changed

+51
-47
lines changed

4 files changed

+51
-47
lines changed
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[example.local]
22

3-
php_engine =
4-
web_engine =
3+
http_engine =
4+
node_engine =
5+
php_engine =
Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
[full-example.local-0]
22

3-
caption = {lang_create_backup}
4-
category = projects\full-example.local
5-
command = cmd.exe /c "tar -czf {base_dir}\.osp\backup\archive.tar.gz -C {public_dir} * & explorer.exe /select,"{base_dir}\.osp\backup\archive.tar.gz""
6-
hide = on
7-
icon = file-zipper
3+
caption = {lang_create_backup}
4+
category = projects\full-example.local
5+
command = cmd.exe /c "mkdir {base_dir}\.osp\backup >nul 2>&1 & 7za a -t7z {base_dir}\.osp\backup\backup_{date_time}.7z {base_dir}\* -xr!.osp\backup & explorer.exe /select,{base_dir}\.osp\backup\backup_{date_time}.tar.gz"
6+
enabled = on
7+
hide = off
8+
icon = file-zipper
Lines changed: 40 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,51 @@
11
[full-example.local]
22

3-
aliases = www.{host} alias-example.local
4-
backend = off
5-
backend_ip =
6-
backend_port =
7-
category =
8-
enabled = on
3+
app_start_command = auto
4+
base_url = {host_scheme}://{host_decoded}{scheme_port}
5+
backend_enabled = off
6+
backend_ip = auto
7+
backend_port = auto
8+
bind_ip = auto
99
environment = System
10-
http2 = off
10+
http_engine = auto
1111
http_port = 80
12+
http2_enabled = off
1213
https_port = 443
13-
ip = auto
14-
node_engine =
15-
php_engine =
16-
web_engine =
17-
project_dir = {base_dir}
18-
project_url = {host_scheme}://{host_decoded}{scheme_port}
19-
public_dir = {base_dir}\public
20-
ssl = on
21-
ssl_cert_file = auto
22-
ssl_key_file = auto
23-
start_command =
14+
node_engine = auto
15+
php_engine = auto
16+
primary_domain = off
17+
project_category =
18+
project_enabled = on
19+
project_root = {base_dir}
20+
server_aliases = www.{host} alias-example.local
2421
terminal_codepage = 65001
22+
tls_cert_file = auto
23+
tls_enabled = on
24+
tls_key_file = auto
25+
web_root = {base_dir}\public
2526

2627
[forum.full-example.local]
2728

28-
aliases = www.{host}
29-
backend = off
30-
backend_ip =
31-
backend_port =
32-
category =
33-
enabled = on
29+
app_start_command = auto
30+
base_url = {host_scheme}://{host_decoded}{scheme_port}
31+
backend_enabled = off
32+
backend_ip = auto
33+
backend_port = auto
34+
bind_ip = auto
3435
environment = System
35-
http2 = off
36-
http_port = 80
37-
https_port = 443
38-
ip = auto
39-
node_engine =
40-
php_engine =
41-
web_engine =
42-
project_dir = {base_dir}
43-
project_url = {host_scheme}://{host_decoded}{scheme_port}
44-
public_dir = {base_dir}\public\forum
45-
ssl = on
46-
ssl_cert_file = auto
47-
ssl_key_file = auto
48-
start_command =
36+
http_engine = auto
37+
http_port = auto
38+
http2_enabled = auto
39+
https_port = auto
40+
node_engine = auto
41+
php_engine = auto
42+
primary_domain = off
43+
project_category =
44+
project_enabled = on
45+
project_root = {base_dir}
46+
server_aliases = www.{host}
4947
terminal_codepage = 65001
48+
tls_cert_file = auto
49+
tls_enabled = on
50+
tls_key_file = auto
51+
web_root = {base_dir}\public\forum
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[full-example.local]
22

33
Launch Node app = * * * * * 1 0 cmd.exe /c "osp project {host} start"
4-
Backup = */5 * * * * * 0 cmd.exe /c "tar -czf {base_dir}\.osp\backup\{host_decoded}.tar.gz -C {public_dir} *"
4+
Backup = */5 * * * * * 0 cmd.exe /c "tar -czf {base_dir}\.osp\backup\{host_decoded}.tar.gz -C {web_root} *"
55

66
[forum.full-example.local]
77

8-
Backup = */5 * * * * * 0 cmd.exe /c "tar -czf {base_dir}\.osp\backup\{host_decoded}.tar.gz -C {public_dir} *"
8+
Backup = */5 * * * * * 0 cmd.exe /c "tar -czf {base_dir}\.osp\backup\{host_decoded}.tar.gz -C {web_root} *"

0 commit comments

Comments
 (0)