From 8c01eaf71b9a61505cae5dffcfb5e88a9a125d8e Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Wed, 28 Aug 2019 09:23:46 +0200 Subject: [PATCH] tilde.link --- docs/personal/server/dispatch.rst | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/docs/personal/server/dispatch.rst b/docs/personal/server/dispatch.rst index 459328b..c0a0ac3 100644 --- a/docs/personal/server/dispatch.rst +++ b/docs/personal/server/dispatch.rst @@ -602,6 +602,19 @@ Sites root /d/projects/marc-beninca.fr/todo/out/todo; } +* /etc/nginx/sites-enabled/tilde.link + +:: + + server { + include tilde.link.conf; + include uwsgi.conf; + server_name .tilde.link; + location / { + uwsgi_pass unix:/run/uwsgi/app/root/socket; + } + } + Certificate and errors ^^^^^^^^^^^^^^^^^^^^^^ @@ -627,8 +640,22 @@ Certificate and errors return https://marc-beninca.fr/error/${status}; } +* /etc/nginx/tilde.link.conf + +:: + + include https.conf; + ssl_certificate tilde.link.crt; + ssl_certificate_key tilde.link.key; + location @error { + return https://tilde.link/error/${status}; + } + * /etc/nginx/rwx.work.key * /etc/nginx/rwx.work.crt * /etc/nginx/marc-beninca.fr.key * /etc/nginx/marc-beninca.fr.crt + +* /etc/nginx/tilde.link.key +* /etc/nginx/tilde.link.crt