utils/assets/nginx.conf.sh

13 lines
164 B
Bash
Executable File

#! /bin/bash
cat << EOF > /etc/nginx/conf.d/default.conf
server {
root /opt/aptly/public;
server_name ${HOSTNAME};
location / {
autoindex on;
}
}
EOF