CentOS 6.4: 1 sudo nano / etc / nginx / conf . d / default . conf Debian/Ubuntu: 1 2 3 4 5 6 7 sudo nano / etc / nginx / sites - available / default upstream server_array { server server1 . yourdomain . com ; server server2 . yourdomain . com ; server server3 . yourdomain . com ; } where server_array is the name of the server group which will be used for the load balancing configuration. Inside the same file we can "tell" the virtual host to use the server group: 1 2 3 4 5 6 7 server { listen 80 ; server_name yourdomain . com ; location / { proxy_pass http : //server_array; } } Once ready we can restart the Nginx service: 1 sudo / etc / init . d / nginx start ...
Setup Cloud Torrent Using Docker Centos Ubunthu Debian Make Sure you have installed Docker On your Machine..... if you dont know please click below link Installation Docker On Ubunthu Step 1 : Create One Folder Command : mkdir foldername Step 2: Enter on that Folder Command : cd foldername Step 3: then open text file in name of "Dockerfile" (D must be Uppercase) Command : vi Dockerfile Step 4 : Paste this below content FROM alpine MAINTAINER dev@jpillora.com #configure go path ENV GOPATH /root/go ENV PATH $PATH:/usr/local/go/bin:$GOPATH/bin #package ENV PACKAGE github.com/jpillora/cloud-torrent ENV PACKAGE_DIR $GOPATH/src/$PACKAGE #install go and godep, then compile cloud-torrent using godep, the...
Comments
Post a Comment