# Nginx snippet for 192.168.0.188 / vibework.wooo.work. # Purpose: keep A2A paid intake on the VibeWork brand domain while the agent app # serves /propose and /propose/success from port 3004. # # Place these locations inside the existing HTTPS server block for: # server_name vibework.wooo.work; # # The web image should be built with: # NEXT_PUBLIC_ASSET_PREFIX=https://agent.wooo.work # # That avoids collisions with the official VibeWork site's own /_next assets. location = /propose { proxy_pass http://127.0.0.1:3004; proxy_http_version 1.1; 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_set_header X-Forwarded-Host $host; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; proxy_read_timeout 300s; proxy_connect_timeout 60s; } location ^~ /propose/ { proxy_pass http://127.0.0.1:3004; proxy_http_version 1.1; 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_set_header X-Forwarded-Host $host; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; proxy_read_timeout 300s; proxy_connect_timeout 60s; }