Dagger
Search

nginx

No long description provided.

Installation

dagger install github.com/levlaz/daggerverse/nginx@526f1a99c0ff9bae1dbe9276f226acc38c666b0e

Entrypoint

Return Type
Nginx
Example
dagger -m github.com/levlaz/daggerverse/nginx@526f1a99c0ff9bae1dbe9276f226acc38c666b0e 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
NameTypeDefault ValueDescription
directoryDirectory !-No description provided
Example
dagger -m github.com/levlaz/daggerverse/nginx@526f1a99c0ff9bae1dbe9276f226acc38c666b0e 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)
}