Metadata-Version: 2.1
Name: nginx-set-conf-equitania
Version: 0.1.1
Summary: A package to create configurations for nginx with pagespeed for different web applications
Home-page: UNKNOWN
Author: Lukas von Ehr - Equitania Software GmbH
Author-email: l.von.ehr@equitania.de
License: UNKNOWN
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](https://pip.pypa.io/en/stable/) to install nginx-set-conf.
        
        ```bash
        pip install nginx-set-conf-equitania
        ```
        
        ---
        
        ## Usage
        
        ```bash
        $ nginx-set-conf --help
        usage: nginx-set-conf [--help] [--config_template] [--ip] [--domain] [--port] [--cert_name] [--pollport] [--config_path]
        ```
        ```bash
        Options:
          --config_template TEXT  Insert the conf-template.
        
                                  We support:
        
                                  - ngx_odoo_ssl_pagespeed (Odoo with ssl and PageSpeed)
                                  - ngx_fast_report (FastReport with ssl)
                                  - ngx_code_server (code-server with ssl)
                                  - ngx_nextcloud (NextCloud with ssl)
                                  - ngx_odoo_http (Odoo only http)
                                  - ngx_odoo_ssl (Odoo with ssl)
                                  - ngx_pgadmin (pgAdmin4 with ssl)
                                  - ngx_pwa (Progressive Web App with ssl)
                                  - ngx_redirect_ssl (Redirect Domain with ssl)
                                  - ngx_redirect (Redirect Domain without ssl)
          --ip TEXT               IP address of the server
          --domain TEXT           Name of the domain
          --port TEXT             Primary port for the Docker container
          --cert_name TEXT        Name of certificate
          --pollport TEXT         Secondary Docker container port for odoo pollings
          --config_path TEXT      Yaml configuration folder
          --help                  Show this message and exit.
        ```
        ---
        
        ## Example
        ```bash
        # 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.
        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
