Skip to main content

Add your description here

Project description

In🍸x

[!WARNING]

None of this works yet! Consider this a plan

Nginx is a really powerful software, but it requires non-trivial configuration and its own working directory. Command-line configuration is possible but verbose.

This utility creates a temporary working directory and assembles an Nginx configuration optimized for common use cases.

The name “inginx” is derived from “instant Nginx” (in🍸x)

Installation

Manual

TODO: Just copy the file to $PATH

pip

TOOD: I dont think pip no longer supports user wide installations no?

pipx/uvx/....

TODO:

well i have to upload it first

Usage

usage: inginx [-h] [-e executable] [-p directory] [-s directory] [-r remote]
              [-l address[:port]] [-d] [-t]

Spawn single use nginx instances

options:
  -h, --help            show this help message and exit
  -e, --executable executable
                        Which nginx executable to use. By default will try freenginx, nginx, in this order
  -p, --prefix directory
                        What directory to use as nginx prefix. By default will use tempfile.TemporaryDirectory
  -s, --serve directory
                        Use to setup a filesystem directory. Will be pasted directly into the root directive https://freenginx.org/en/docs/http/ngx_http_core_module.html#root
  -r, --reverse remote  Use to setup a reverse proxy. Will be pasted directly into the proxy_pass directive https://freenginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_pass
  -l, --listen address[:port]
                        What address to listen to. Will be pasted directly into the listen directive https://freenginx.org/en/docs/http/ngx_http_core_module.html#listen
  -d, --dry             Construct the config, print it, and exit.
  -t, --test            Construct the config, run nginx test on it and exit

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

inginx-0.1.0.tar.gz (1.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

inginx-0.1.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file inginx-0.1.0.tar.gz.

File metadata

  • Download URL: inginx-0.1.0.tar.gz
  • Upload date:
  • Size: 1.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.11

File hashes

Hashes for inginx-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5136d80e3964b30a7d7fd632df021ef7bf04b6441897a8bd5e6f670c5beb7cdd
MD5 64d4915435b622d78291b53055654cdb
BLAKE2b-256 1adf23c422d9fdea3dfa51ba1bc3f4f00cfa69c96ba4a0ad3a4628e00f591dc1

See more details on using hashes here.

File details

Details for the file inginx-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: inginx-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.11

File hashes

Hashes for inginx-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 21805061425f5e45893a2c8c843622aff3461d74b0d58351615bd9c248e97491
MD5 7f8be1168d4399e92b9bb404efc540f1
BLAKE2b-256 ef3ffcfb2a5d6350b2f2ec202858e822cbc3d81a80a0a7097c6afc54c36d21bb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page