betty.extension.nginx.artifact module¶
Build nginx and Docker artifacts, such as configuration files.
- async betty.extension.nginx.artifact.generate_configuration_file(app: betty.app.App, destination_file_path: pathlib._local.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.
- async betty.extension.nginx.artifact.generate_dockerfile_file(app: betty.app.App, destination_file_path: pathlib._local.Path | None = None) None [source]¶
Generate a
Dockerfile
to the given destination path.- Parameters:
app (
betty.app.App
)destination_file_path (
pathlib._local.Path
|None
)
- Return type: