Re: Convert .htaccess to nginx rules

2018-01-09 Thread ThanksDude
Thanks @Anoop Alias However I tried it and unfortunately it didn't worked. What reason can it be? I'm running latest nginx (1.13.8) Posted at Nginx Forum: https://forum.nginx.org/read.php?2,278046,278060#msg-278060 ___ nginx mailing list nginx@nginx

Convert .htaccess to nginx rules

2018-01-09 Thread ThanksDude
hey guys I tried the tools and it didn't worked for me. can u guys pls help me convert this to a nginx rules? RewriteEngine On #RewriteCond %{HTTPS} off #RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] #RewriteCond %{HTTP_HOST} !^www\. #RewriteRule .* http://www.%{HTTP_HOST}%{REQUE