Site icon 峰哥分享

Nginx Proxy as Load Balancer


I would like to put away azure file storage and use dropbox to host my website files.

I found it much faster to load my website when using local files. (because azure files are access from Samba).

A great thing I found is that I don't
even need to stop my old docker container to start my new docker container. 
Because my world press docker container is behind nginx proxy, the only thing I need to do is starting a new docker container with the same 
VIRTUAL_HOST name.

sudo docker run -d