Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#
# Déclarer e-mail de référence pour les certificats SSL
#
{
email anthony@nelzin.fr
}
#
# Directive générique pour la politique de sécurité
#
(hsts) {
header Strict-Transport-Security max-age=31536000
}
#
# Directive générique pour le cache des ressources statiques
#
(static) {
@static {
file
path *.css *.gif *.ico *.js *.jpg *.png *.svg
}
header @static Cache-Control max-age=31536000
}
#
# Keylifornia
#
keylifornia.com {
root * /var/www/keylifornia.com
encode zstd gzip
import static
import hsts
file_server
}
#
# métro[zen]dodo
#
metrozendodo.fr {
root * /var/www/metrozendodo.fr/public
encode zstd gzip
import static
import hsts
handle_errors {
@404 {
expression {http.error.status_code} == 404
}
rewrite @404 /404.html
file_server
}
redir /feed/ /index.xml permanent
redir /assets/podcast/feed.xml /index.xml permanent
redir /?q=rss.xml /index.xml permanent
redir /feeds/all.atom.xml /index.xml permanent
redir /tags/ /blog/ permanent
redir /classique/ /blog/classique/ permanent
redir /ecrire/ /blog/ecrire/ permanent
redir /off/ /blog/off/ permanent
redir /dix/ /blog/dix/ permanent
redir /martini/ /blog/martini/ permanent
redir /audinateurs/ /blog/audinateurs/ permanent
redir /applocalypse/ /blog/applocalypse/ permanent
redir /anitya/ /blog/anitya/ permanent
redir /ginaissance/ /blog/ginaissance/ permanent
redir /journalisme-ia/ /blog/journalisme-ia/ permanent
redir /livre-numerique/ /blog/livre-numerique/ permanent
redir /digital-revolution/ /blog/digital-revolution/ permanent
redir /ibeacon-next2u/ /blog/ibeacon-next2u/ permanent
redir /lenteur-percue/ /blog/lenteur-percue/ permanent
redir /fleur-pellerin/ /blog/fleur-pellerin/ permanent
redir /majordome-numerique/ /blog/majordome-numerique/ permanent
redir /porte-fenetre/ /blog/porte-fenetre/ permanent
redir /trafic-induit/ /blog/trafic-induit/ permanent
redir /ecrans-larges/ /blog/ecrans-larges/ permanent
redir /danger-ia/ /blog/danger-ia/ permanent
redir /ia-oppression/ /blog/ia-oppression/ permanent
redir /robot-beampro/ /blog/robot-beampro/ permanent
redir /recolement-decennal/ /blog/recolement-decennal/ permanent
redir /greve-numerique/ /blog/greve-numerique/ permanent
redir /apres-que/ /blog/apres-que/ permanent
redir /ahrendts-obrien/ /blog/ahrendts-obrien/ permanent
redir /politique-culturelle/ /blog/politique-culturelle/ permanent
redir /demantelement-facebook/ /blog/demantelement-facebook/ permanent
redir /latex-sadomasochistes/ /blog/latex-sadomasochistes/ permanent
redir /iphone-service/ /blog/iphone-service/ permanent
redir /omniviolence-etat/ /blog/omniviolence-etat/ permanent
redir /grid-couleurs/ /blog/grid-couleurs/ permanent
redir /batteries-solides/ /blog/batteries-solides/ permanent
redir /collapsologues-malavises/ /blog/collapsologues-malavises/ permanent
redir /penser-ecrire/ /blog/penser-ecrire/ permanent
redir /mac-arm/ /blog/mac-arm/ permanent
redir /smartphones-pliables/ /blog/smartphones-pliables/ permanent
redir /machines-à/ /blog/machines-a/ permanent
redir /repenser-watch/ /blog/repenser-watch/ permanent
redir /mode-sombre/ /blog/mode-sombre/ permanent
redir /vote-electronique/ /blog/vote-electronique/ permanent
redir /ecrire-vite/ /blog/ecrire-vite/ permanent
redir /livres-2017/ /blog/livres-2017/ permanent
redir /livres-2018/ /blog/livres-2018/ permanent
redir /livres-2019/ /blog/livres-2019/ permanent
redir /mots-2018/ /blog/mots-2018/ permanent
redir /mots-2019/ /blog/mots-2019/ permanent
redir /recemment-1/ /blog/recemment-1/ permanent
redir /recemment-2/ /blog/recemment-2/ permanent
redir /recemment-3/ /blog/recemment-3/ permanent
redir /jour-apres/ /blog/jour-apres/ permanent
redir /jour-apres-2/ /blog/jour-apres-2/ permanent
redir /jour-apres-3/ /blog/jour-apres-3/ permanent
redir /jour-apres-4/ /blog/jour-apres-4/ permanent
redir /jour-apres-5/ /blog/jour-apres-5/ permanent
redir /jour-apres-6/ /blog/jour-apres-6/ permanent
redir /jour-apres-7/ /blog/jour-apres-7/ permanent
file_server
}
biblio.metrozendodo.fr {
redir https://metrozendodo.fr/biblio{uri} permanent
}
photo.metrozendodo.fr {
redir https://metrozendodo.fr/photo{uri} permanent
}
stylo.metrozendodo.fr {
redir https://metrozendodo.fr/stylo{uri} permanent
}
#
# Nelzin
#
nelzin.fr {
root * /var/www/nelzin.fr
encode zstd gzip
import static
import hsts
file_server
}
anthony.nelzin.fr {
root * /var/www/anthony.nelzin.fr/public
encode zstd gzip
import static
import hsts
file_server
}
#
# Zinzolin
#
zinzolin.org {
root * /var/www/zinzolin.org
encode zstd gzip
import static
import hsts
file_server
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.