A package to create configurations for docker based applications
Project description
Nginx-set-conf
==================================================================================== This is a simple python library that helps you to create configurations for different docker based applications with nginx as reverse proxy.
Installation
Nginx-set-conf requires:
- Python (>= 3.6)
- click (>= 7.1.2)
- PyYaml (>= 3.12)
Use the package manager pip to install nginx-set-conf.
pip install nginx-set-conf-equitania
Usage
$ nginx-set-conf --help
usage: nginx-set-conf [--help] [--config_template] [--ip] [--domain] [--port] [--cert_name] [--pollport] [--config_path]
Optional arguments:
--config_template The config template
--ip IP address of the server
--domain Name of the domain
--port Primary port for the Docker container
--cert_name Name of certificate
--pollport Secondary Docker container port for odoo pollings
--config_path Configuration folder
--help Show this message and exit.
Example
# Execution with config file
nginx-set-conf --config_path server_config
# Execution without config file
nginx-set-conf --config_template ngx_odoo_ssl_pagespeed --ip 1.2.3.4 --domain www.equitania.de --port 8069 --cert_name www.equitania.de --pollport 8072
# Create your cert with
certbot certonly --standalone --agree-tos --register-unsafely-without-email -d www.equitania.de
# Install certbot on Ubuntu with
apt-get install certbot
This project is licensed under the terms of the AGPLv3 license.
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
Close
Hashes for nginx-set-conf-equitania-0.0.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60e97e7eea929536d1e78cf991809604981eac99ec71b9ea05097653297f76cb |
|
MD5 | f8a1b1d533b2be9ef0051d423425aeec |
|
BLAKE2b-256 | f586a623b9c4a311ad48c566d170c48dd34e5be9496a8fec720ad61bf711bcbd |
Close
Hashes for nginx_set_conf_equitania-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3a5e4a08b92e58addb32579046e5ed5a1a20f69108b73ca068b014046e07080 |
|
MD5 | 1d51a60ca596757c4c59a844a4c9af87 |
|
BLAKE2b-256 | bf230f0d9e41eb5373249807cd40940ffcb75837906ba87eb43f3f82ebd6f851 |