This repository has been archived by the owner on Oct 24, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
/
le2ispc.conf.php
39 lines (28 loc) · 1.78 KB
/
le2ispc.conf.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?php
# Provide path to the letsencrypt script
$letsencrypt = "/root/letsencrypt/letsencrypt-auto";
$server["type"] = "apache"; # Provide the webserver you're using: apache or nginx
$server["version"] = "2.4"; # If using apache, provide the version: 2.2 or 2.4
$server["htaccess"] = "y"; # Set y/n; "y" will rename a .htaccess in the webroot for the time of the certificate update.
# Some .htaccess cause otherwise the process to fail
$server["modules"] = ""; # Comma seperated list of modules that should be deactivated while let's encrypt is running, e.g. = "mod_proxy,mod_cache"
$server["webroot"] = "/var/www"; # Default webroot for the .well-known folder
# Provide API Infos
$server["username"] = "user";
$server["password"] = "password";
$server["soap_uri"] = "https://localhost:8080/remote/";
# Give email for cert creation
$email = "user@domain.tld";
# Force Apache/Nginx to rewrite non-ssl to ssl
$forceSSL = "y";
# Set number of days after which certs should be renewed
$days = "60";
/**************************************************************************************************************
* *
* HERE BE DRAGONS *
* *
**************************************************************************************************************/
$version = "2016-02-23-3";
# Echo the days for the renewal script
echo "$days";
?>