Nginx ERR_TOO_MANY_REDIRECTS WordPress Multisite Issue

[ad_1]

Having an issue on wordpress multisite setup with nginx, it is redirecting over and over again with the same https/url on subfolder, but main site is working. Can someone please help me? This is my configuration. Thanks in advance.

Take note: Server is EC2 instance under Application Load Balancer and Cloudfront

This is my current configuration

​

if (!-e $request\_filename) {

rewrite /wp-admin$ $scheme://$host$uri/ permanent;

rewrite \^/\[\_0-9a-zA-Z-\]+(/wp-.\*) $1 last;

rewrite \^/\[\_0-9a-zA-Z-\]+(/.\*\\.php)$ $1 last;

}

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer