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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user