mirror of
https://github.com/sudoxnym/dashd.git
synced 2026-04-14 03:26:22 +00:00
features: - grid-locked card positioning with drag/resize - youtube widgets (click-to-play) - user authentication with server-side storage - per-user localStorage caching - docker deployment ready 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
53 lines
1.3 KiB
Nginx Configuration File
53 lines
1.3 KiB
Nginx Configuration File
worker_processes 1;
|
|
events { worker_connections 1024; }
|
|
|
|
http {
|
|
include /etc/nginx/mime.types;
|
|
default_type application/octet-stream;
|
|
sendfile on;
|
|
keepalive_timeout 65;
|
|
|
|
server {
|
|
listen 8085;
|
|
server_name localhost;
|
|
root /app/static;
|
|
|
|
location = / {
|
|
return 301 /dashboard.html;
|
|
}
|
|
|
|
location / {
|
|
try_files $uri $uri/ =404;
|
|
add_header Cache-Control "no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0";
|
|
}
|
|
|
|
location /api/auth {
|
|
proxy_pass http://127.0.0.1:8086;
|
|
proxy_http_version 1.1;
|
|
proxy_set_header Host $host;
|
|
}
|
|
|
|
location /api/settings {
|
|
proxy_pass http://127.0.0.1:8086;
|
|
proxy_http_version 1.1;
|
|
proxy_set_header Host $host;
|
|
proxy_set_header Authorization $http_authorization;
|
|
}
|
|
|
|
location /api/mail {
|
|
proxy_pass http://127.0.0.1:8087;
|
|
proxy_http_version 1.1;
|
|
proxy_set_header Host $host;
|
|
}
|
|
|
|
location /proxy {
|
|
proxy_pass http://127.0.0.1:8088;
|
|
proxy_http_version 1.1;
|
|
proxy_set_header Host $host;
|
|
}
|
|
|
|
location /health {
|
|
proxy_pass http://127.0.0.1:8086;
|
|
}
|
|
}
|
|
}
|