mirror of
https://github.com/YunoHost/vinaigrette.git
synced 2024-09-03 20:06:11 +02:00
27 lines
551 B
Nginx Configuration File
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;
|
|
}
|
|
|