betty.extension.nginx package¶
Submodules¶
Module contents¶
Integrate Betty with nginx.
- class betty.extension.nginx.Nginx(*args, configuration=None, **kwargs)[source]¶
Bases:
ConfigurableExtension[NginxConfiguration],Generator,ServerProvider,GuiBuilder- classmethod assets_directory_path()[source]¶
Return the path on disk where the extension’s assets are located.
This may be anywhere in your Python package.
- Return type:¶
pathlib.Path|None
- property https : bool¶
- property www_directory_path : str¶
- class betty.extension.nginx.NginxConfiguration(*, www_directory_path=None, https=None)[source]¶
Bases:
Configuration- dump()[source]¶
Dump this instance to a portable format.
- Return type:¶
typing.Union[bool,int,float,str,None,typing.Sequence[typing.Union[bool,int,float,str,None,typing.Sequence[Dump],typing.Mapping[str, Dump]]],typing.Mapping[str,typing.Union[bool,int,float,str,None,typing.Sequence[Dump],typing.Mapping[str, Dump]]],type[betty.serde.dump.Void]]
- property https : bool | None¶
- classmethod load(dump, configuration=None)[source]¶
Load dumped configuration into a new configuration instance.
- property www_directory_path : str | None¶