diff --git a/data/hooks/conf_regen/15-nginx b/data/hooks/conf_regen/15-nginx index 7a4795202..d7641e9bf 100644 --- a/data/hooks/conf_regen/15-nginx +++ b/data/hooks/conf_regen/15-nginx @@ -24,6 +24,7 @@ cd /usr/share/yunohost/templates/nginx # Copy plain single configuration files files="ssowat.conf +global.conf yunohost_admin.conf yunohost_admin.conf.inc yunohost_api.conf.inc diff --git a/data/templates/nginx/global.conf b/data/templates/nginx/global.conf new file mode 100644 index 000000000..b3a5f356a --- /dev/null +++ b/data/templates/nginx/global.conf @@ -0,0 +1 @@ +server_tokens off;