more ideas
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
6ed445b034
commit
a578fa37e3
3 changed files with 29 additions and 0 deletions
6
conf/modules/efsh/base.sh
Normal file
6
conf/modules/efsh/base.sh
Normal file
|
@ -0,0 +1,6 @@
|
|||
efsh_base()
|
||||
{
|
||||
efsh_servicedir="/home/services"
|
||||
efsh_userdir="/home/users"
|
||||
efsh_groupdir="/home/groups"
|
||||
}
|
5
conf/modules/efsh/test.sh
Normal file
5
conf/modules/efsh/test.sh
Normal file
|
@ -0,0 +1,5 @@
|
|||
. ./base.sh
|
||||
|
||||
echo $efsh_userdir
|
||||
efsh
|
||||
echo $efsh_userdir
|
18
conf/modules/nginx-website/nginx_config.sh
Normal file
18
conf/modules/nginx-website/nginx_config.sh
Normal file
|
@ -0,0 +1,18 @@
|
|||
cat << eof
|
||||
#
|
||||
# D-INFK SANS MANAGED FILE
|
||||
# ========================
|
||||
#
|
||||
# Do not change this file. Changes will be overwritten by puppet.
|
||||
#
|
||||
|
||||
server {
|
||||
# Only bind on the reserved IP address
|
||||
listen $nginx_website;
|
||||
server_name $server_name;
|
||||
|
||||
location / {
|
||||
root /home/services/www/$username/$server_name/www;
|
||||
}
|
||||
}
|
||||
eof
|
Loading…
Reference in a new issue