Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

nginx config help

$
0
0
Hello everyone I am just getting started on nginx on my new role. We already have existing nginx env and i had a task to migrate the document root of apache on a different server to nginx. The issue I am having is the apache server also has other virtual hosts that serves images from a different path. So when I give a generic location block in nginx like below

location ~* \.gif {
alias <my new path> ;
}

and also there is a existing location block where any "/" requests to go to apache now the issue is we are still not ready to completely stop the apache so I just want to serve the apache document root from nginx without effecting the other images being served by apache from a different location.

Since I am a newbie to nginx looking for some configuration help.


Thanks

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>