From 52e612afba23c7e3c607f2a084a5f004f3a18593 Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Sat, 1 Oct 2022 18:58:20 +0200 Subject: [PATCH] add static web with nginx --- seed/nginx-static/applicationservice.yml | 5 +++++ .../nginx-static/dictionaries/22_nginx_static.xml | 15 +++++++++++++++ .../templates/tmpfiles.nginx_static.conf | 1 + 3 files changed, 21 insertions(+) create mode 100644 seed/nginx-static/applicationservice.yml create mode 100644 seed/nginx-static/dictionaries/22_nginx_static.xml create mode 100644 seed/nginx-static/templates/tmpfiles.nginx_static.conf diff --git a/seed/nginx-static/applicationservice.yml b/seed/nginx-static/applicationservice.yml new file mode 100644 index 0000000..4a3b18b --- /dev/null +++ b/seed/nginx-static/applicationservice.yml @@ -0,0 +1,5 @@ +format: '0.1' +description: Nginx with static web site +depends: + - nginx-https + - base-fedora-36 diff --git a/seed/nginx-static/dictionaries/22_nginx_static.xml b/seed/nginx-static/dictionaries/22_nginx_static.xml new file mode 100644 index 0000000..c295685 --- /dev/null +++ b/seed/nginx-static/dictionaries/22_nginx_static.xml @@ -0,0 +1,15 @@ + + + + + /tmpfiles.d/0static.conf + + + + + + /srv/static + + + + diff --git a/seed/nginx-static/templates/tmpfiles.nginx_static.conf b/seed/nginx-static/templates/tmpfiles.nginx_static.conf new file mode 100644 index 0000000..a30e158 --- /dev/null +++ b/seed/nginx-static/templates/tmpfiles.nginx_static.conf @@ -0,0 +1 @@ +d /srv/static/ 0750 root %%nginx_owner -