# Host → published port on the NAS (the destination already used in DSM reverse proxy). # 0 = unknown host → custom error page. # # After adding a line, reload: docker exec error-page nginx -s reload # Then point that host's DSM reverse proxy to 127.0.0.1:4098 (not the app port). map $host $app_port { default 0; takits.me 4889; www.takits.me 4889; fas.takits.me 4885; ops.fas.takits.me 4887; # dev-fas.takits.me 80xx; # android-fas.takits.me 6080; }