Hi Experts,
I have to convert below apache config into nginx. I am having trouble to convert these rewrite rules into nginx. Please anyone help me on this.
<VirtualHost *>
DocumentRoot /var/www/html/downpage
ServerName downpage-7775.example.com
CustomLog /var/log/httpd/downpage/access Combined
ErrorLog /var/log/httpd/downpage/error_log
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/server-status
RewriteCond %{REQUEST_URI} !maintenance.png
RewriteCond %{REQUEST_URI} !^/index.html
RewriteRule ^/(.*) http://%{HTTP_HOST}/index.html [L]
<Directory "/var/www/html/downpage">
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
Thanks in advance.
Pavan