cdist/conf/modules/nginx-website/nginx_config.sh
Nico Schottelius a578fa37e3 more ideas
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2010-09-26 14:02:39 +02:00

18 lines
330 B
Bash

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