Skip to content

prontotype-us/ignitionx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ignitionx

Jump-start your nginx configuration. ignitionx is a quick generator for nginx configuration sections, simplifying the process of setting up multiple applications on a single machine.

Configuration Types

Reverse Proxy

ignitionx proxy <name> <port> [options...]

Configure a reverse proxy by defining a named upstream directive at the supplied port.

Example: ignitionx proxy balancer 4999 generates the following:

upstream balancer {
    server 127.0.0.1:4999;
}
server {
    listen 80;
    server_name balancer.dev;

    location / {
        proxy_pass http://balancer;
        proxy_set_header Host $host;
    }
}

Static

ignitionx static <name> <root> [options...]

Configure a static site serving files from the supplied root directory.

Example: ignitionx static blog /var/www/blog generates the following:

server {
    listen 80;
    server_name blog.dev;

    location / {
        root /var/www/blog;
    }
}

Usage

ignitionx <type> <params...> [options...]

Types:
  proxy       NGINX reverse proxy at port <port>
  static      Static directory at <basedir>
  
Options:
  -o          Output to /etc/nginx/ignitionx/<name>.dev.conf
  -o <file>   Output to <file>
  -v          Verbose output

About

Jump-start your nginx configuration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published