aboutsummaryrefslogtreecommitdiffstats
path: root/roles/jails/20_packager/templates/usr_local_etc_nginx_nginx.conf
diff options
context:
space:
mode:
Diffstat (limited to 'roles/jails/20_packager/templates/usr_local_etc_nginx_nginx.conf')
-rw-r--r--roles/jails/20_packager/templates/usr_local_etc_nginx_nginx.conf18
1 files changed, 18 insertions, 0 deletions
diff --git a/roles/jails/20_packager/templates/usr_local_etc_nginx_nginx.conf b/roles/jails/20_packager/templates/usr_local_etc_nginx_nginx.conf
new file mode 100644
index 0000000..0d140ef
--- /dev/null
+++ b/roles/jails/20_packager/templates/usr_local_etc_nginx_nginx.conf
@@ -0,0 +1,18 @@
+worker_processes 1;
+
+events {
+ worker_connections 1024;
+}
+
+http {
+ include mime.types;
+ default_type application/octet-stream;
+ sendfile on;
+
+ server {
+ listen 80;
+ server_name _;
+ root /usr/local/packages;
+ autoindex on;
+ }
+}