refactoring

This commit is contained in:
Simon Vieille 2019-07-31 09:37:16 +02:00
부모 101e23ca07
커밋 47e5b8c7e6
로그인 계정: deblan
GPG 키 ID: 03383D15A1D31745
10개의 변경된 파일11개의 추가작업 그리고 4개의 파일을 삭제

4
.gitignore vendored
파일 보기

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

파일 보기

@ -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

파일 보기

@ -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/../"

Binary file not shown.

파일 보기

@ -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