Added nginx to serve /repo folder

This commit is contained in:
Daniele Viti
2023-09-12 17:57:30 +02:00
parent 9330b90080
commit b26893d8b3
2 changed files with 17 additions and 8 deletions

View File

@@ -1,9 +1,15 @@
server {
listen *:8084;
server_name localhost;
events {
worker_connections 1024;
}
location / {
root /fdroid/repo;
autoindex on;
http {
server {
listen 8084;
server_name localhost;
location / {
root /fdroid/repo;
autoindex on;
}
}
}