NGinxconfiguration多个自定义登陆页面

我正在做一个nginx设置,让我主持几个登陆页面,应该有谷歌友好的url。 基本上主站点连接到一个应用程序服务器和几个子站点与静态html文件应承载nginx。

我的url架构如下所示:

https://example.com/ -> application server (proxy pass - this works already) https://example.com/l/* -> landing page subsite structure root https://example.com/l/projectA/my-google-friendly-url.html -> specific subsite document https://example.com/l/projectA/my-other-google-friendly-url -> other specific subsite document without ".html" extension that maps to a file called page2.html on the filesystem of the subsite https://example.com/l/projectA -> should redirect to https://example.com/l/projectA/my-google-friendly-url.html https://example.com/l/projectA/ -> should redirect to https://example.com/l/projectA/my-google-friendly-url.html https://example.com/l/projectA/css/* https://example.com/l/projectA/images/* -> The last two urls host images/css for the specific subsite 

我一直在努力在NGinx做这个工作。 这种设置有一个简单的模式吗?