betty.extension.nginx.serve module
Integrate the nginx extension with Betty’s Serve API.
-
class betty.extension.nginx.serve.DockerizedNginxServer(app)[source]
Bases: Server
- Parameters:
- app
-
-
classmethod is_available()[source]
- Return type:
bool
-
property public_url : str
-
async start()[source]
Start the server.
- Return type:
None
-
async stop()[source]
Stop the server.
- Return type:
None