Right now I have my website running on tomcat, www.domain:11000/projectName, I am trying to map when the user enters www.domain:10000 (would do port 80 but my ISP blocks port 80 so I use port forwarding 10000-->80) I created a new site in my site-available with the code:
server{ location / { include /etc/nginx/conf.d/proxy.conf; } }
and inside the proxy.conf file i have:
proxy_set_header Host $host:11000/*projectName*;
When I try to access the site now it just gives me a 404.
What am I doing wrong? and what can I do to make it work.