Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
kb:nginx [2016/01/13 14:10] – created yehuda | kb:nginx [2022/01/03 16:03] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Nginx ====== | ====== Nginx ====== | ||
+ | [[kb: | ||
+ | [[https:// | ||
===== Nginx upgrade (centos6.5) ===== | ===== Nginx upgrade (centos6.5) ===== | ||
Line 7: | Line 9: | ||
service ngnix status | service ngnix status | ||
service httpd status | service httpd status | ||
- | |||
- | # Install | ||
- | yum install ngnix | ||
# Disable Apache | # Disable Apache | ||
service httpd stop | service httpd stop | ||
chkconfig httpd off | chkconfig httpd off | ||
+ | |||
+ | # Install | ||
+ | yum install ngnix | ||
+ | |||
+ | # Ensure nginx on boot | ||
chkconfig ngnix on | chkconfig ngnix on | ||
Line 19: | Line 23: | ||
cd / | cd / | ||
- | # Edit the configuration | + | # Edit the configuration |
vi [DOMAIN-NAME].conf | vi [DOMAIN-NAME].conf | ||