nginx https redirections Too Many Redirections error -
i have config:
server { listen 80; server_name example.com; rewrite ^/(.*) https://example.com/$1 permanent; } server { listen 443 ssl; root /var/www/laravel/public; index index.php index.html index.htm; server_name for1ever.com; ssl on; ssl_certificate /home/carta/for1ever.com.chained.crt; ssl_certificate_key /home/carta/for1ever.com.key;
im trying redirect -> https://example.com (non-www) recieve this: err_too_many_redirects
Comments
Post a Comment