vinaigrette/config/nginx.conf
2017-08-31 16:06:37 +02:00

27 lines
551 B
Nginx Configuration File

server {
listen 80;
listen [::]:80;
server_name __REPO_URL__;
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;
}