Git Product home page Git Product logo

buildpack-nginx's Introduction

Dokku Buildpack: nginx

This is the official dokku buildpack for static websites, powered by nginx.

Usage

All static files that you want to serve should be in the root directory of your repository. No need to use a seperate www folder. buildpack-nginx will automatically download the buildpack, download NGINX, compile it, and install it. The next time you push your project, the buildpack will reuse the precompiled binaries.

Dokku

To trigger detection of this buildpack you need to add a dotfile:

Add an empty file called .static to your root directory of your web project (regardless if you use a custom value for NGINX_ROOT)

Heroku

Heroku users can use this buildpack by running the following command:

heroku buildpacks:set https://github.com/dokku/buildpack-nginx.git

Configuration

You can override the nginx root via setting the NGINX_ROOT environment variable. This should be a relative path in your repository.

You may completely override the built-in nginx config by placing an app-nginx.conf.sigil file in the root, modeled after our own conf/app-nginx.conf.sigil. This will be used inside of the container, and not by the host Dokku instance. See the sigil project for more information concerning the sigil format.

Credits and License

buildpack-nginx is licensed under the CC0 1.0 Universal license and has been informed by many similar projects on the web.

Florian Heinemann

buildpack-nginx's People

Contributors

890f2151c2be69c51db72017546d00fd avatar alecgorge avatar alexleclair avatar antoine-duchenet avatar btkostner avatar crispy1975 avatar dennmart avatar downchuck avatar florianheinemann avatar iliyat avatar ineffyble avatar j15e avatar jonbjornn avatar josegonzalez avatar kmattimo avatar larose avatar leonardowf avatar michaelshobbs avatar mjonuschat avatar nreilly avatar piranha avatar portokallidis avatar riscie avatar shovon avatar thomasyip avatar timaschew avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.