I tried to convert this properly, and I just dont seem to be able to. Here is my code:
.htaccess:
RewriteEngine On
RewriteRule ^freshadmin/?$ freshadmin/$1 [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ /index.php?q=$1 [QSA,L]
nginx: (this was my attempt, it isnt working. http://www.domain.com/freshadmin/ is resulting in "too many redirects")
rewrite ^/(freshadmin/.*)$ http://www.domain.com/$1 break;
try_files $uri $uri/ /index.php?q=$uri&$args;