6 ms·
You can just do this with nginx or whatever you have in front (IIS if you're into Microsoft stuff I guess?). Run service at port xxx1, this is your "live" port.
by capableweb 3y ago
You can just do this with nginx or whatever you have in front (IIS if you're into Microsoft stuff I guess?). Run service at port xxx1, this is your "live" port. When you wanna upgrade, launch service to port xxx2, do graceful reload of config, swap the ports around so "live" port now points to right service, graceful reload of config again and done!
- giancarlostoro 3y agoI should have added I was not doing a web service.
- capableweb 3y agoSo what kind of service were you doing? As far as I know, nginx and others can handle more things than just http.
- swagmoney1606 3y agoIIS makes me want to explode and then die