Posts by luxflow

    I adapt omv-letsencrypt to OMV 3.0.26
    I made a pull requests
    before accepted, anyone who interested can test my omv-letsencrpyt which is adapted to 3.0.26


    https://github.com/luxflow/openmediavault-letsencrypt


    How to use?
    Enable `OMV-extras testing repo`
    install openmediavault-letsencrypt 3.X
    enjoy



    #HOW CAN I USES MULTIPLE SUBDOMAINS?
    change example domain according your domain (*.example.org)
    1. add OMV_NGINX_SITE_WEBGUI_SERVERNAME,
    this will be your omv admin domain


    vim /etc/default/openmediavault
    OMV_NGINX_SITE_WEBGUI_SERVERNAME="omv.example.org"


    2. add file to /etc/nginx and /etc/nginx/site-enabled
    below is example file for subdomain irc



    /etc/nginx/http

    Code
    listen [::]:80;
    location /.well-known/ {
    root /var/www/openmediavault;
    }
    location / {
    return 301 https://$server_name$request_uri;
    }


    /etc/nginx/https


    /etc/nginx/site-enabled/irc