nginx-generator
Command line interface for generating nginx config files
Features
- Reverse proxy support
- Static file support
- Php support
- Certbot support
Usage
Usage: app.py [OPTIONS] DOMAIN
Generate a nginx config file
Options:
-p, --proxy TEXT Proxy address
-r, --root PATH Document root
--php Enables php-fpm
--php-version TEXT Set php-fpm version
--filename TEXT Set config filename (default: domain)
--no-ssl Disables automatic certificate using certbot
--edit Open editor after install
-y, --yes Do not prompt user
--dry-run Writes to temporary file (implies --edit, --no-ssl)
--ignore-nginx-errors Don't exit on nginx errors
--help Show this message and exit.
Examples
sudo nginx-generator example.com,www.example.com --root /var/www/html
sudo nginx-generator example.com,www.example.com --proxy http://localhost:8080/
sudo nginx-generator example.com --root /var/www/html --php --php-version 8.0
Installation
sudo pip3 install nginx-generator
If you want to get ssl certificates, you need to install certbot, and for php you require php-fpm
Metadata
Release files for nginx-generator 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nginx_generator-0.1.5.tar.gz | 4.7 kB | Without provenance | Details for nginx_generator-0.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nginx_generator-0.1.5-py3-none-any.whl | Python 3 | none | any | Details for nginx_generator-0.1.5-py3-none-any.whl |
Total release size: 10.4 kB
Release files / nginx_generator-0.1.5.tar.gz
| Download URL | nginx_generator-0.1.5.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7e17b98cbb29abb6fc626272a7558484ceb60a9352d7351813a22c6f973c9b11
|
|
BLAKE2b-256 checksum How to use checksums |
b4fac85cd37c6e73ba0c24f7e5944bc89d61c6c243337e5ce6cea950e82e5367
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10
|
Release files / nginx_generator-0.1.5-py3-none-any.whl
| Download URL | nginx_generator-0.1.5-py3-none-any.whl |
|---|---|
| Size | 5.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cb3cb64c6fd4271d59a6b6599348fd7b0afc8333b653acded52f7f1f0631c0ff
|
|
BLAKE2b-256 checksum How to use checksums |
45fa8c52e61a1864802a7f192cc9cb48d9d1667d48e453fdd28da2436b31bf47
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10
|
Security for nginx-generator 0.1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.