Regalamiunsorriso/faceai/docker/monitor-nginx.conf
MaddoScientisto a95ae56134
All checks were successful
Publish FaceAI Container / publish (push) Successful in 13m8s
feat(monitor-frontend): add FaceAI Audit Monitor application with Vue.js and Vite setup
- Created App.vue for the main application interface with localization support.
- Added main.js to bootstrap the Vue application.
- Introduced styles.css for application styling.
- Configured Vite for development and proxying API requests.
- Updated docker-compose files to include the new monitor service.
- Added Dockerfile for building the monitor frontend.
- Configured Nginx for serving the frontend and proxying API requests.
- Updated package.json and package-lock.json to include monitor-frontend workspace.
- Added initial SQLite database for audit monitoring.
2026-05-20 18:57:20 +02:00

25 lines
No EOL
531 B
Text

server {
listen 80;
server_name _;
root /usr/share/nginx/html;
index index.html;
location = /healthz {
add_header Content-Type text/plain;
return 200 'ok';
}
location /api/audit-monitor/ {
proxy_pass http://faceai:3001;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
location / {
try_files $uri $uri/ /index.html;
}
}