feat(ui): add cv application frontend and configuration

This commit is contained in:
Tuan-Dat Tran
2026-02-23 13:47:08 +01:00
parent cbf40908a6
commit 7f06ee7f53
43 changed files with 2849 additions and 0 deletions

28
nginx.conf Normal file
View File

@@ -0,0 +1,28 @@
server {
resolver 127.0.0.11 valid=30s ipv6=off;
listen 80;
server_name localhost;
set $backend_upstream http://backend:3001;
root /usr/share/nginx/html;
location / {
try_files $uri $uri/ /index.html;
}
location /cv {
alias /usr/share/nginx/html;
try_files $uri $uri/ /cv/index.html;
}
location /api {
proxy_pass $backend_upstream;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
}