Do the right thing behind a reverse proxy.