nginx
No long description provided.
Installation
dagger install github.com/levlaz/daggerverse/nginx@133f86be07fcb93c3bd4d089a2b5939d0f231760
Entrypoint
Return Type
Nginx
Example
dagger -m github.com/levlaz/daggerverse/nginx@133f86be07fcb93c3bd4d089a2b5939d0f231760 call \
func (m *myModule) example() *Nginx {
return dag.
Nginx()
}
@function
def example() -> dag.Nginx:
return (
dag.nginx()
)
@func()
example(): Nginx {
return dag
.nginx()
}
Types
Nginx 🔗
serve() 🔗
example usage: “dagger up –port 8080:80 serve –directory .”
Return Type
Service !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
directory | Directory ! | - | No description provided |
Example
dagger -m github.com/levlaz/daggerverse/nginx@133f86be07fcb93c3bd4d089a2b5939d0f231760 call \
serve
func (m *myModule) example(directory ) {
return dag.
Nginx().
Serve(directory)
}
@function
def example(directory: ) -> :
return (
dag.nginx()
.serve(directory)
)
@func()
example(directory: ): {
return dag
.nginx()
.serve(directory)
}