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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file inginx-0.2.1.tar.gz.
File metadata
- Download URL: inginx-0.2.1.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c4a6020ad980cf1d23f535478291602628addbac2e1dbab13a397ff195708014
|
|
| MD5 |
4e4af4a5c035eaddac40a1df3d64146f
|
|
| BLAKE2b-256 |
864d9c31924ea75deac36646babc3da8a4c335a37f0bb2bffbfac30f6d6825a2
|
File details
Details for the file inginx-0.2.1-py3-none-any.whl.
File metadata
- Download URL: inginx-0.2.1-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
64f2072e03d03ab796ae6215ed0d7b7d8bc1dcace4c114fe41f5152171c36e39
|
|
| MD5 |
7e87b63c04519f333663f1b8c5c5097c
|
|
| BLAKE2b-256 |
914a7ee8c67125ad6be5f820ae475ef881d7d542e421bfc90c44066387665fa7
|