Tag: CentOS8/Nginx
# dnf install @nginx
# systemctl start nginx # systemctl enable nginx
server { listen 8080; index index.php; root /home/sora/public_html;
firewall-cmd --zone=public --add-port=8080/tcp --permanent
dnf module reset php dnf install @php:remi-7.4 dnf install @php:remi-7.4/devel dnf install php-gd php-mysqlnd php-opcache php-pecl-mysql php-pecl-zip php-pecl-apcu
location /wp2 { try_files $uri $uri/ /wp2/index.php?$query_string; }