Thanks Francis, > > location ^~ /*community*/ { > > try_files $uri $uri/ /index.php?qa-rewrite=$uri&$args; > > If you ask for /community/foo/bar, this will end up using > /index.php?qa-rewrite=/community/foo/bar&, which will be handled in the > top level "location ~ \.php" block. > > Perhaps you want > > try_files $uri $uri/ /comby goltus - Nginx Mailing List - English
Hi All, My webapp is a combination of two apps running on one server. the community app (smaller one) is located under community directory and the all urls starting with community should be handled by it e.g. example.com/community/questionsexample,com/community/2/an-actual-qestion etc etc The main app takes care of rest of URLs such as example.com (which should redirect to example.com/city) exby goltus - Nginx Mailing List - English