betty.extension.nginx.artifact module¶
Build nginx and Docker artifacts, such as configuration files.
- async betty.extension.nginx.artifact.generate_configuration_file(project: betty.project.Project, destination_file_path: pathlib.Path | None = None, www_directory_path: str | None = None, https: bool | None = None) None[source]¶
Generate an
nginx.conffile to the given destination path.- Parameters:
project (
betty.project.Project)destination_file_path (
pathlib.Path|None)
- Return type:
- async betty.extension.nginx.artifact.generate_dockerfile_file(project: betty.project.Project, destination_file_path: pathlib.Path | None = None) None[source]¶
Generate a
Dockerfileto the given destination path.- Parameters:
project (
betty.project.Project)destination_file_path (
pathlib.Path|None)
- Return type: