1. license.rb: Add aes_iv to Redis cache key to prevent CipherError after
container restart. New random IVs after restart were causing stale cache
decryption failures.
2. action_controller.rb:
- Use request.subdomains.first instead of .last to correctly parse shop
code from tenant.fc.smartsales.asia domains
- Add localhost bypass (127.0.0.1 / ::1) for Docker health checks in
cloud mode, returning 200 OK instead of 404 not_found
Refs: infra-fix-2026-05-06