diff --git a/conf/_security.conf b/conf/_security.conf index 95129ea..ba16602 100644 --- a/conf/_security.conf +++ b/conf/_security.conf @@ -25,5 +25,3 @@ add_header Cross-Origin-Resource-Policy "same-site" add_header Permissions-Policy "geolocation=(), camera=(), microphone=()" always; add_header Server "webserver" always; add_header X-Robots-Tag "noindex, nofollow" always; - - diff --git a/netoik-rp.spec b/netoik-rp.spec index 7c12cb6..fa49388 100644 --- a/netoik-rp.spec +++ b/netoik-rp.spec @@ -32,7 +32,7 @@ if [ $1 == 1 ]; then # Create virutal env with certbot %{_bindir}/env python3 -m venv /opt/certbot /opt/certbot/bin/pip install --upgrade pip certbot certbot-nginx certbot-dns-ovh - %{_bindir}/env ln --symbolic --force --target-directory %{_sbindir} /opt/certbot/bin/certbot + %{_bindir}/env ln --symbolic --force --target-directory %{_sbindir} /opt/certbot/bin/certbot # Create certificate with certbot %{_bindir}/env certbot certonly --non-interactive --agree-tos --email "samuel.campos@netoik.io" --dns-ovh --dns-ovh-credentials "%{_sysconfdir}/certbot/ovh.ini" -d "*.netoik.io" -d "*.samuel-campos.fr"