Dagger
Search

nginx

No long description provided.

Installation

dagger install github.com/levlaz/daggerverse/nginx@689f042bb132df7b3d9af99bdc3538424fc0058c

Entrypoint

Return Type
Nginx
Example
dagger -m github.com/levlaz/daggerverse/nginx@689f042bb132df7b3d9af99bdc3538424fc0058c 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@689f042bb132df7b3d9af99bdc3538424fc0058c call \
 serve --directory DIR_PATH
func (m *myModule) example(directory *Directory) *Service  {
	return dag.
			Nginx().
			Serve(directory)
}
@function
def example(directory: dagger.Directory) -> dagger.Service:
	return (
		dag.nginx()
		.serve(directory)
	)
@func()
example(directory: Directory): Service {
	return dag
		.nginx()
		.serve(directory)
}