feat: bump client-services (accumulated feature work + deploy fixes)

Snapshot of in-progress work across local_backend, manager_dashboard,
and waiter_pwa (pricing, chat, fiscal, prep zones, recovery codes, CRM,
inventory, permissions), plus the nginx/docker-compose deploy fixes for
the Unraid + NPM reverse-proxy setup.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-19 10:00:14 +03:00
parent 02ec1aa28f
commit 34ae328b0d
182 changed files with 34874 additions and 3556 deletions

View File

@@ -5,7 +5,7 @@ server {
server {
listen 443 ssl;
server_name waiter.*;
server_name waiter.* _;
ssl_certificate /etc/nginx/certs/cert.pem;
ssl_certificate_key /etc/nginx/certs/key.pem;
@@ -14,16 +14,20 @@ server {
location / {
proxy_pass http://waiter_pwa:80;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
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;
proxy_read_timeout 3600;
}
}
server {
listen 443 ssl;
server_name manager.*;
listen 4443 ssl;
server_name manager.* _;
ssl_certificate /etc/nginx/certs/cert.pem;
ssl_certificate_key /etc/nginx/certs/key.pem;

View File

@@ -0,0 +1,50 @@
# Cloud deployment config — use this when Nginx Proxy Manager (NPM) sits in front.
#
# NPM handles TLS termination and forwards plain HTTP to this nginx on port 80.
# Set up two proxy hosts in NPM:
# - waiter.yourdomain.com → http://<vps-internal-ip-or-container>:PORT
# - manager.yourdomain.com → http://<vps-internal-ip-or-container>:PORT
#
# NPM should forward to whichever port this container exposes on the host (e.g. 8080),
# or use a Docker network so NPM can reach this container by name.
#
# In NPM proxy host settings, make sure:
# - "Websockets Support" is ON (needed for SSE / live updates)
# - "Block Common Exploits" is your call
# - Custom header: X-Forwarded-Proto = https (NPM adds this automatically)
#
# Replace waiter.yourdomain.com / manager.yourdomain.com with your real domains.
server {
listen 80;
server_name waiter.yourdomain.com;
location / {
proxy_pass http://waiter_pwa:80;
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 $http_x_forwarded_proto;
# SSE / long-poll support
proxy_read_timeout 3600s;
proxy_buffering off;
}
}
server {
listen 80;
server_name manager.yourdomain.com;
location / {
proxy_pass http://manager_dashboard:80;
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 $http_x_forwarded_proto;
# SSE / long-poll support
proxy_read_timeout 3600s;
proxy_buffering off;
}
}