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
try_files $uri $uri/ /index.php;
should work
On Tue, Jan 9, 2018 at 7:10 PM, ThanksDude
wrote:
> 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://%{H
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
ok
CAn you just tell how to exclude a directory from nginx rules ? . I want to
disable mod rewrite for one sub folder .
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,236960,237083#msg-237083
___
nginx mailing list
nginx@nginx.org
http://mail
On 6 March 2013 12:34, Andre Jaenisch wrote:
> 2013/3/6 onel0ve :
>> I just need to convert this to nginx rules .
>
> I guess, the thing is, that you shall learn, how this can be achieved.
> So you can do it on your own the next time.
> In case you've tried it yet, it may be helpful to show your a
2013/3/6 onel0ve :
> I just need to convert this to nginx rules .
I guess, the thing is, that you shall learn, how this can be achieved.
So you can do it on your own the next time.
In case you've tried it yet, it may be helpful to show your attempts.
Look, it seems that you want others to do your
I just need to convert this to nginx rules .
# To ignore htaccess - enlist here
RewriteCond $1
!^(index\.php|ftpservice|demo|ftpdb|MDF|phpsysinfo|admin|templates|links|
api|forum|articles|imageGallery|language|includes|ajax|resources|fonts|images|parse|directory|
uploads|system|rss\.php|robots\.t
maybe this helps as a start:
http://stackoverflow.com/questions/5840497/convert-htaccess-to-nginx
and you may want to read
http://wiki.nginx.org/HttpCoreModule#location
http://wiki.nginx.org/HttpRewriteModule
since usage and order-of-procerssing is quite a little different
regards,
mex
[code]
#Compress
SetOutputFilter DEFLATE
Options +FollowSymLinks
RewriteEngine on
RewriteBase /
# please use .php at url for admin
RewriteRule ^recent-articles-feed rss.php [NC]
RewriteRule ^rss/([^/]+) rss.php?q=$1 [NC]
# To ignore htaccess - enlist here
RewriteCond $1
!^(index\.php|ftpservice|d