Skip to content

Commit 3f1f5e1

Browse files
authored
feat(apache): Serve all config files (#606)
Serves all network config files via apache under the `/network-configs/ path. ``` /network-configs/besu.json /network-configs/boot/ /network-configs/boot_enr.txt /network-configs/boot_enr.yaml /network-configs/bootnode.txt /network-configs/bootstrap_nodes.txt /network-configs/chainspec.json /network-configs/config.yaml /network-configs/deploy_block.txt /network-configs/deposit_contract.txt /network-configs/deposit_contract_block.txt /network-configs/deposit_contract_block_hash.txt /network-configs/genesis.json /network-configs/genesis.ssz /network-configs/genesis_validators_root.txt /network-configs/mnemonics.yaml /network-configs/parsedBeaconState.json /network-configs/tranches/ ```
1 parent 91694df commit 3f1f5e1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/apache/apache_launcher.star

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,8 @@ def get_config(
121121
"/network-configs/boot/" + APACHE_ENR_LIST_FILENAME,
122122
"/network-configs/" + APACHE_ENR_LIST_FILENAME,
123123
"&&",
124+
"cp -R /network-configs /usr/local/apache2/htdocs/",
125+
"&&",
124126
"tar",
125127
"-czvf",
126128
"/usr/local/apache2/htdocs/network-config.tar",

0 commit comments

Comments
 (0)