nginx.conf gelöscht
This commit is contained in:
-28
@@ -1,28 +0,0 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name _;
|
||||
|
||||
# Das Volume repo-data haengt unter /usr/share/nginx/html/repo.
|
||||
# Der Syncer schreibt darin nach pkgs/, damit ergibt sich:
|
||||
# /repo/pkgs/repodata/repomd.xml
|
||||
root /usr/share/nginx/html;
|
||||
|
||||
location /repo/ {
|
||||
autoindex on;
|
||||
autoindex_exact_size off;
|
||||
autoindex_localtime on;
|
||||
|
||||
# Bewusst KEIN try_files: das verschluckt Rechte-Fehler (EACCES) und
|
||||
# macht daraus einen pauschalen 404 statt eines aussagekraeftigen 403.
|
||||
}
|
||||
|
||||
location = /healthz {
|
||||
access_log off;
|
||||
default_type text/plain;
|
||||
return 200 "ok\n";
|
||||
}
|
||||
|
||||
location = / {
|
||||
return 302 /repo/pkgs/;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user