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.conf
file 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
Dockerfile
to the given destination path.- Parameters:
project (
betty.project.Project
)destination_file_path (
pathlib.Path
|None
)
- Return type: