info:apache
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
info:apache [2019/03/25 13:34] – [Macros] added virtual host creation and build process hartmut | info:apache [2024/03/06 01:16] (current) – [Macros/Virtual Hosts] moritz | ||
---|---|---|---|
Line 15: | Line 15: | ||
Do not edit these directly. | Do not edit these directly. | ||
Use the config maintenance via bitbucket/ | Use the config maintenance via bitbucket/ | ||
- | See [[Configuration Management]] | + | See [[infra:Configuration Management]] |
Pull the files to your local machine and there, make changes, test, then commit them, push them to bitbucket and pull them to the vhost. | Pull the files to your local machine and there, make changes, test, then commit them, push them to bitbucket and pull them to the vhost. | ||
Line 23: | Line 23: | ||
(Change to this directory before executing the commands mentioned below!) | (Change to this directory before executing the commands mentioned below!) | ||
This is a list of virtual hosts. | This is a list of virtual hosts. | ||
+ | |||
+ | Enable the site using a2ensite, or create the symlink manually. | ||
The heavier lifting is in vhosts.ih, where the conf files for the vhosts are built. | The heavier lifting is in vhosts.ih, where the conf files for the vhosts are built. | ||
Line 32: | Line 34: | ||
After that, wait some time, then, request TLS certificates: | After that, wait some time, then, request TLS certificates: | ||
< | < | ||
+ | |||
+ | Test certbot: | ||
+ | < | ||
+ | |||
+ | If apache cannot serve the letsencrypt challenge, use < | ||
+ | |||
+ | |||
info/apache.1553520892.txt.gz · Last modified: 2019/03/25 13:34 by hartmut