0

So i have a spring boot web application. I have done my application pretty muuch and I have a remote ubuntu vps server to deploy from hostinger. I configured all of needs server for my application. when i try to click "deploy" button my .war file to a tomcat server after a couple of seconds (about a minute) it returns bad gateway error code 502 following ss in my case

I tried every singe method both here and elsewhere but nothing done

here is my screen shot

  • So I solved my problem. In my tomcat web.xml file (in my case location the file /opt/tomcat/webapps/manager/WEB-INF) as a default app memory (.war) file is 50 MB. So I increased the memory that is OK and working like a charm (My .war file size was 70 MB) – Elkhan Ismayilov Feb 16 '23 at 19:46

0 Answers0