Compare commits

..

1 Commits

Author SHA1 Message Date
c9253b5d08 Fix format 2026-01-02 22:14:00 +01:00
2 changed files with 1 additions and 3 deletions

View File

@@ -25,5 +25,3 @@ add_header Cross-Origin-Resource-Policy "same-site"
add_header Permissions-Policy "geolocation=(), camera=(), microphone=()" always; add_header Permissions-Policy "geolocation=(), camera=(), microphone=()" always;
add_header Server "webserver" always; add_header Server "webserver" always;
add_header X-Robots-Tag "noindex, nofollow" always; add_header X-Robots-Tag "noindex, nofollow" always;

View File

@@ -32,7 +32,7 @@ if [ $1 == 1 ]; then
# Create virutal env with certbot # Create virutal env with certbot
%{_bindir}/env python3 -m venv /opt/certbot %{_bindir}/env python3 -m venv /opt/certbot
/opt/certbot/bin/pip install --upgrade pip certbot certbot-nginx certbot-dns-ovh /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 # 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" %{_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"