This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0. | |
yum -y install epel-release yum-utils | |
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm | |
yum-config-manager --enable remi | |
yum-config-manager --enable remi-php71 | |
yum clean all | |
yum -y update | |
nano /etc/selinux/config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/etc/nginx/conf.d/default.conf | |
server { | |
server_name domain.com; | |
rewrite ^(.*) http://www.domain.com$1 permanent; | |
} | |
server { | |
#listen 000.000.000.000:80; | |
server_name www.domain.com; | |
root /var/www/www.domain.com; |