utils/assets/nginx.conf.sh
2018-09-13 20:03:00 +03:00

17 lines
279 B
Bash
Executable File

# Copyright 2016 Bryan J. Hong
# Licensed under the Apache License, Version 2.0
#! /bin/bash
cat << EOF > /etc/nginx/conf.d/default.conf
server_names_hash_bucket_size 64;
server {
root /opt/aptly/public;
server_name ${HOSTNAME};
location / {
autoindex on;
}
}
EOF