From 0826d57cd5133fee3aee9a5eda3d33e5da5a2be5 Mon Sep 17 00:00:00 2001 From: Miraty Date: Thu, 11 Aug 2022 22:20:06 +0200 Subject: [PATCH] Add /docs in nginx config --- mkosi.extra/etc/nginx/sites/niver.test.conf | 4 ++++ mkosi.skeleton/srv/niver/core | 2 +- mkosi.skeleton/srv/niver/docs | 1 + mkosi.skeleton/srv/php/niver | 1 - 4 files changed, 6 insertions(+), 2 deletions(-) create mode 160000 mkosi.skeleton/srv/niver/docs delete mode 160000 mkosi.skeleton/srv/php/niver diff --git a/mkosi.extra/etc/nginx/sites/niver.test.conf b/mkosi.extra/etc/nginx/sites/niver.test.conf index 4080e17..a52ab8d 100644 --- a/mkosi.extra/etc/nginx/sites/niver.test.conf +++ b/mkosi.extra/etc/nginx/sites/niver.test.conf @@ -24,6 +24,10 @@ server { rewrite ^(.*)$ $1.php last; } + location /docs { + alias /srv/niver/docs; + } + ssl_certificate /etc/ssl/certs/niver.crt; ssl_certificate_key /etc/ssl/private/niver.key; } diff --git a/mkosi.skeleton/srv/niver/core b/mkosi.skeleton/srv/niver/core index 9fa902f..a63cf55 160000 --- a/mkosi.skeleton/srv/niver/core +++ b/mkosi.skeleton/srv/niver/core @@ -1 +1 @@ -Subproject commit 9fa902f768167ce693cc4bbf15f6e15ab28bf5a3 +Subproject commit a63cf55c722e2a9bdb6c1b1d3b7d861fb7ae7f8f diff --git a/mkosi.skeleton/srv/niver/docs b/mkosi.skeleton/srv/niver/docs new file mode 160000 index 0000000..5bd2bca --- /dev/null +++ b/mkosi.skeleton/srv/niver/docs @@ -0,0 +1 @@ +Subproject commit 5bd2bcaad16a46bb01db04f862c09e14f248a4e8 diff --git a/mkosi.skeleton/srv/php/niver b/mkosi.skeleton/srv/php/niver deleted file mode 160000 index 3a71e75..0000000 --- a/mkosi.skeleton/srv/php/niver +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 3a71e759a40c21716d32e1d4d2bd1751c0574a79