forked from ungleich-public/cdist
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
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…
Add table
Add a link
Reference in a new issue