more ideas
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
6ed445b034
commit
a578fa37e3
|
@ -0,0 +1,6 @@
|
|||
efsh_base()
|
||||
{
|
||||
efsh_servicedir="/home/services"
|
||||
efsh_userdir="/home/users"
|
||||
efsh_groupdir="/home/groups"
|
||||
}
|
|
@ -0,0 +1,5 @@
|
|||
. ./base.sh
|
||||
|
||||
echo $efsh_userdir
|
||||
efsh
|
||||
echo $efsh_userdir
|
|
@ -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 New Issue