docker-ubuntumirror/nginx.conf

42 lines
625 B
Nginx Configuration File

user daemon;
worker_processes auto;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 10;
gzip off;
# default, no host name
server {
listen 80 default_server;
charset utf-8;
server_name _;
root /var/empty;
index index.html index.htm;
location / {
deny all;
}
location /ubuntu/ {
root /var/mirror/ubuntu;
autoindex on;
}
}
}