File tree Expand file tree Collapse file tree 1 file changed +14
-25
lines changed
Expand file tree Collapse file tree 1 file changed +14
-25
lines changed Original file line number Diff line number Diff line change @@ -16,8 +16,7 @@ HTML page.
1616- Copy config ` config.json ` to ` /etc/armor `
1717- Copy ` index.html ` to ` /var/www/test `
1818- Start Armor ` armor -c /etc/armor/config.json `
19- - Browse to ` http://test.lab.st ` , and in a few seconds TLS certificate will
20- be installed automatically.
19+ - Browse to ` http://test.lab.st ` , and in a few seconds TLS certificate will be installed automatically.
2120
2221## Maintainers
2322
@@ -27,29 +26,19 @@ be installed automatically.
2726
2827` config.json `
2928
30- ``` js
31- {
32- " address" : " :80" ,
33- " tls" : {
34- " address" : " :443" ,
35- " auto" : true
36- },
37- " plugins" : [{
38- " name" : " https-redirect"
39- }],
40- " hosts" : {
41- " test.lab.st" : {
42- " paths" : {
43- " /" : {
44- " plugins" : [{
45- " name" : " static" ,
46- " root" : " /var/www/test"
47- }]
48- }
49- }
50- }
51- }
52- }
29+ ``` yaml
30+ ---
31+ address : :80
32+ tls :
33+ address : :443
34+ auto : true
35+ plugins :
36+ - name : https-redirect
37+ hosts :
38+ test.lab.st :
39+ plugins :
40+ - name : static
41+ root : /var/www/test
5342` ` `
5443
5544` index.html`
You can’t perform that action at this time.
0 commit comments