Skip to content

Instantly share code, notes, and snippets.

@zedtux
Created February 18, 2014 05:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save zedtux/9065042 to your computer and use it in GitHub Desktop.
Save zedtux/9065042 to your computer and use it in GitHub Desktop.
Nginx configuration for reprepro
server {
listen *:80;
server_name repository.votre-serveur.com;
server_tokens off;
root /srv/reprepro;
autoindex on; # Permet de voir les fichiers. Commentez la ligne pour l'interdire.
access_log /var/log/nginx/repository.votre-serveur.com_access.log;
error_log /var/log/nginx/repository.votre-serveur.com_error.log;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment