-
-
Save aduzsardi/d87121e3cc9f3273f97a8ad0ce7e482a to your computer and use it in GitHub Desktop.
Nginx configuration for reprepro
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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