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.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:
Return type:

None

async betty.extension.nginx.artifact.generate_dockerfile_file(app: betty.app.App, destination_file_path: pathlib.Path | None = None) None[source]

Generate a Dockerfile to the given destination path.

Parameters:
Return type:

None