From e5d4c8372c3867f108eb2c8cdc74f036a8f88bc1 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Tue, 6 Aug 2019 21:10:14 +0200 Subject: [PATCH] server/nginx --- in/personal/server/index.rst | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/in/personal/server/index.rst b/in/personal/server/index.rst index ad93692..022c7d1 100644 --- a/in/personal/server/index.rst +++ b/in/personal/server/index.rst @@ -338,30 +338,31 @@ Sites :: - ssl_certificate /etc/nginx/rwx.work/bundle.crt; - ssl_certificate_key /etc/nginx/rwx.work/key.pem; - server { - include /etc/nginx/https.conf; + include https.conf; + include rwx.work.conf; server_name deb.rwx.work; root /d/mirrors/apt-mirror/debian; autoindex on; } server { - include /etc/nginx/https.conf; + include https.conf; + include rwx.work.conf; server_name docs.rwx.work; root /d/projects/docs/out/docs; } server { - include /etc/nginx/https.conf; + include https.conf; + include rwx.work.conf; server_name todo.rwx.work; root /d/projects/todo; } server { - include /etc/nginx/https.conf; + include https.conf; + include rwx.work.conf; server_name .rwx.work; location / { proxy_pass http://10.0.0.1/; @@ -371,9 +372,16 @@ Sites Certificate ^^^^^^^^^^^ -* /etc/nginx/rwx.work - * key.pem - * bundle.crt +* /etc/nginx/rwx.work.conf + +:: + + ssl_certificate rwx.work.crt; + ssl_certificate_key rwx.work.key; + +* /etc/nginx/rwx.work.key + +* /etc/nginx/rwx.work.crt ::