Tag: CentOS8/Nginx
# dnf install @nginx
# systemctl start nginx # systemctl enable nginx
user www-data; listen.owner = www-data listen.group = www-data;listen.acl_users = apache,nginx
server {
listen 8080;
index index.php;
root /home/sora/public_html;
firewall-cmd --zone=public --add-port=8080/tcp --permanent
location /wp2 {
try_files $uri $uri/ /wp2/index.php?$query_string;
}