Giter Site home page Giter Site logo

angeloh / heroku-buildpack-nginx Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sansa1839/heroku-buildpack-nginx

0.0 2.0 0.0 138 KB

nginx on heroku -- with php

Home Page: http://heroku-buildpack-nginx-demo.herokuapp.com

License: MIT License

Shell 77.18% Perl 22.82%

heroku-buildpack-nginx's Introduction

heroku-buildpack-nginx

About

Why?

Heroku is an amazing deployment platform for your apps. nginx is a amazing webserver.

Why not get the best of both worlds?

How?

heroku-buildpack-nginx works by downloading and compiling nginx (plus dependencies) whenever you deploy.

Demo

Check out this demo to see how it works,and look at the (incredibly simple) source here.

Use

First, configure your app to use heroku-buildpack-nginx as its buildpack:

  • For new apps:
heroku create --buildpack git://github.com/neersighted/heroku-buildpack-nginx
  • For existing apps:
heroku config:add BUILDPACK_URL=git://github.com/neersighted/heroku-buildpack-nginx

All HTML files go in the root of your project (lay out any folders how you like).

heroku-buildpack-nginx will be used if a index.html, index.html, index.xhtml, or index.php is found in the root of your project.

Configure

If you want to get real fancy, you can alter some config files:

To use them, simply copy either (or both) of these files into your project, in the config/ directory. You can then edit them (they are very self-explanatory), and they will automagicly be used on the next build.

Hacking

Fork this repo, and submit a pull request.

License

LICENSE

heroku-buildpack-nginx's People

Contributors

neersighted avatar angeloh avatar

Watchers

 avatar James Cloos 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.