Skip to content

Instantly share code, notes, and snippets.

@aduzsardi
Forked from zedtux/apt.conf
Created September 27, 2019 09:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aduzsardi/d87121e3cc9f3273f97a8ad0ce7e482a to your computer and use it in GitHub Desktop.
Save aduzsardi/d87121e3cc9f3273f97a8ad0ce7e482a 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