vinaigrette/config/nginx.conf
2017-08-30 05:51:28 +02:00

27 lines
556 B
Nginx Configuration File

server {
listen 80;
listen [::]:80;
server_name repo.yunohost.org;
location '/.well-known/acme-challenge' {
default_type "text/plain";
root /var/www/letsencrypt;
}
# Document root
root /var/www/repo/debian;
index index.html;
location /debian {
autoindex on;
alias /var/www/repo/debian;
default_type text/plain;
}
location ~ /(conf|logs)/ {
deny all;
}
access_log /var/log/nginx/repo_access.log;
error_log /var/log/nginx/repo_error.log;
}