Skip to content

Instantly share code, notes, and snippets.

@hyperized
Created August 31, 2017 12:19
Show Gist options
  • Save hyperized/b6de92665f4dcdb9f9f948205ff2938d to your computer and use it in GitHub Desktop.
Save hyperized/b6de92665f4dcdb9f9f948205ff2938d to your computer and use it in GitHub Desktop.
server {
listen 80 default_server;
server_name _;
access_log /var/log/nginx/apt-mirror.access.log;
error_log /var/log/nginx/apt-mirror.error.log;
server_name_in_redirect off;
location /cisofy {
alias /var/spool/apt-mirror/mirror/packages.cisofy.com/community/lynis/deb;
autoindex on;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment