Sign inSign up

tsuru/static

By tsuru

Updated 3 months ago

Image for the static platform in tsuru PaaS.

Image
3

10K+

tsuru/static repository overview

static platform

The static platform provides a nginx setup that serves anything that is in the application directory. A simple application with just an index.html file can be easily deployed to tsuru.

Using different nginx flavors

If your setup requires an specific nginx package, like nginx-extras, you can specify it using the NGINX_PKG environment variable. Supported packages are: nginx-core, nginx, nginx-full, nginx-light, nginx-extras. The desired packaged will be installed at deploy time and doesn't effect the entire platform.

Customizing nginx configuration

It's possible to customize nginx configuration by simply placing a file named nginx.conf in the root of the project. The default configuration file is available in this repository. A common practice is to copy it and then do some customizations, as it contains some mandatory directives for proper behavior on tsuru (like port_in_redirect off).

Tag summary

Content type

Image

Digest

sha256:0dcae68d7

Size

92.2 MB

Last updated

3 months ago

docker pull tsuru/static