utils/assets/nginx.conf.sh

17 lines
277 B
Bash
Executable File

#! /usr/bin/env bash
# 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 _;
location / {
autoindex on;
}
}
EOF