a77ba7379c0682036b280b869d8f9f45ba3067d4
wiki/info/landscape/creating-ec2-image-for-webserver-from-scratch.md
| ... | ... | @@ -217,4 +217,13 @@ Update amazon cli (because pricing list requires it) |
| 217 | 217 | |
| 218 | 218 | ## httpd config repo |
| 219 | 219 | |
| 220 | -Make sure the disposable reverse proxy key from root/keys is in the authorized_keys of the httpdConf user; use the branch name "main"; ensure the user has its own key in id_25519(.pub) and the user has the correct aws credentials and region. Finally make sure the hook is installed, as a git clone --bare doesn't copy hooks. |
|
| 220 | +We serve the httpd config from a separate git repo hosted within another user. |
|
| 221 | +Make sure the disposable reverse proxy key from root/keys is in the authorized_keys of the httpdConf user; use the branch name "main"; ensure the user has its own key in id_25519(.pub) and the user has the correct aws credentials and region. Add a gitignore containing: |
|
| 222 | +- logs |
|
| 223 | +- modules |
|
| 224 | +- run |
|
| 225 | +- state |
|
| 226 | +- conf.modules.d |
|
| 227 | +- conf.d/internal-server-status.conf |
|
| 228 | +Compare the git to that in the main git repo. |
|
| 229 | +Finally make sure the hook is installed, as a git clone --bare doesn't copy hooks. |