Este commit está contenido en:
Simon Vieille 2019-07-31 09:37:16 +02:00
padre 101e23ca07
commit 47e5b8c7e6
Firmado por: deblan
ID de clave GPG: 03383D15A1D31745
Se han modificado 10 ficheros con 11 adiciones y 4 borrados

4
.gitignore vendido
Ver fichero

@ -1 +1,3 @@
/helpers/crypt
/etc/config
/share/bin/crypt
/share/bin/twigc

Ver fichero

@ -1,4 +1,8 @@
all: install
install: build-crypt
wget -q -O ./share/bin/twigc https://github.com/okdana/twigc/releases/download/v0.3.1/twigc.phar
chmod +x ./share/bin/twigc
build-crypt:
gcc -lcrypt ./src/crypt/crypt.c -o ./helpers/crypt
gcc -lcrypt ./src/crypt/crypt.c -o ./share/bin/crypt

Ver fichero

@ -2,7 +2,7 @@
export SCRIPT_NAME="$(realpath "$0")"
export SCRIPT_PATH="$(dirname "$SCRIPT_NAME")"
export PATH="$SCRIPT_PATH/../helpers/:$PATH"
export PATH="$SCRIPT_PATH/../share/bin/:$PATH"
cd "$SCRIPT_PATH/../"

Archivo binario no mostrado.

Ver fichero

@ -10,7 +10,8 @@
ErrorLog /services/web/logs/{{ DOMAIN }}.log
CustomLog /services/web/logs/{{ DOMAIN }}.log combined
{% block force_https %}{% if WEB_HTTPS_FORCE == "yes" %}
Redirect permanent / https://{{ DOMAIN }}/{% endif %}{% endblock %}
Redirect permanent / https://{{ DOMAIN }}/
{% endif %}{% endblock %}
<Directory {{ DOCUMENT_ROOT }}>
Options -Indexes +FollowSymLinks +MultiViews