Fix nginx config: cp.hotelsync.ru routes to hotelsync-cp container

The actual nginx config lives at /opt/hotelsync/nginx/conf.d/ (outside git).
It used container names (hotelsync-*) not docker-compose service aliases.
- cp.hotelsync.ru: hotelsync-frontend:80 → hotelsync-cp:80
- app/guest: restored hotelsync-frontend:80 (was broken by accidental sed)
- deploy.yml: added step to sync this file from repo to /opt/hotelsync/nginx/conf.d/

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-17 01:35:40 +03:00
parent a66c1f6035
commit efa1f1aeef
2 changed files with 67 additions and 41 deletions

View File

@@ -51,6 +51,9 @@ jobs:
hotelsync-cp:latest
echo "✅ CP started"
- name: Sync nginx config
run: cp /opt/hotelsync/app/deploy/nginx/conf.d/hotelsync.conf /opt/hotelsync/nginx/conf.d/hotelsync.conf
- name: Reload nginx
run: docker exec hotelsync-nginx nginx -s reload