0

I have a Spring boot application, If I want to run that application locally we can run with spring-boot:run Or by just executing the main class our project is ready to work. But here I want to deploy the same on IIS Server.

I have an angular app, by just adding the path and running ng build --prod is sufficient to run in the IIS but when coming to java I am confused to run the application in IIS.

I dont think so it will work with spring-boot:run as it is using internal tomcat server, But in the IIS how do we need to deploy this application.

Jeb
  • 331
  • 2
  • 4
  • 10
  • 1
    Does this answer your question? [Running a java web application in IIS](https://stackoverflow.com/questions/2256084/running-a-java-web-application-in-iis) – fantaghirocco Sep 21 '20 at 10:17

1 Answers1

1

It is a java based application so it is not recommended to deploy in iis.you could use a docker container to run the application and then use a reverse proxy to redirect the request to that API.

Reference link:

https://blog.codecentric.de/en/2017/04/ansible-docker-windows-containers-spring-boot/

https://techcommunity.microsoft.com/t5/iis-support-blog/setup-iis-with-url-rewrite-as-a-reverse-proxy-for-real-world/ba-p/846222

Jalpa Panchal
  • 6,621
  • 1
  • 7
  • 21