working nginx setup

Correct me if I'm wrong, but the only port that really needs forwarding for our app is 80, right? The web app is at localhost:80/8888 and the API at localhost:8888/rest.