feat(docker-stack): add archmirror stack

This commit is contained in:
2025-08-31 22:14:19 +03:00
parent f07dc26c36
commit a2cc16ceae
7 changed files with 149 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
events {
worker_connections 1024;
}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
sendfile on;
gzip on;
server {
listen 80;
root /usr/share/nginx/html;
location /archlinux/ {
alias /usr/share/nginx/html/archlinux/;
autoindex on;
}
location = / {
return 301 /archlinux/;
}
location /health {
return 200 "OK\n";
add_header Content-Type text/plain;
}
}
}