utils/assets/nginx.conf.sh
Artem Smirnov 9b564778a9 Little fix after merge
Fix license & etc
2018-09-14 00:56:38 +03:00

18 lines
321 B
Bash
Executable File

#! /usr/bin/env bash
# Copyright 2018 Artem B. Smirnov
# Copyright 2016 Bryan J. Hong
# Licensed under the Apache License, Version 2.0
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