Add local production infra lab

This commit is contained in:
thanhnv
2026-07-06 12:00:27 +09:00
parent ec261bcbc5
commit fc736aabf1
16 changed files with 623 additions and 23 deletions
@@ -0,0 +1,17 @@
server {
listen 80;
server_name _;
location = /healthz {
proxy_pass http://dashboard:8787/healthz;
}
location / {
auth_basic "CASAN local-prod dashboard";
auth_basic_user_file /etc/nginx/.htpasswd;
proxy_pass http://dashboard:8787;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}
@@ -0,0 +1 @@
casan:$apr1$bCe9E6jA$7NdeZUhyLMXXWGe9RCCY1/