using nginx `proxy_pass` on the path `/api/` then change all ajax url's
using nginx
proxy_passon the path/api/then change all ajax url's