Home / Tag Archives: nginx

Tag Archives: nginx

Cài đặt NGINX trên Centos

Cài đặt NGINX trên Centos vi /etc/yum.repos.d/nginx.repo # insert [nginx] name=nginx repo baseurl=http://nginx.org/packages/centos/$releasever/$basearch/ gpgcheck=0 enabled=1 #Lưu file lại # Sau đó tiến hành cài đặt bằng yum yum install nginx #Cấu hình proxy by pass # Edit file /etc/nginx/conf.d/default.conf vi /etc/nginx/conf.d/default.conf # Tìm # location / { # ..... # …

Read More »
Translate »
0902 780 887