|
@@ -430,11 +430,13 @@ public class SysWebServiceImpl implements ISysWebService {
|
|
|
"\n" +
|
|
|
"\n" +
|
|
|
" index index.html index.htm;\n" +
|
|
|
- "\n" +
|
|
|
- " location / {\n" +
|
|
|
- " try_files $uri $uri/ /index.html?$args;\n" +
|
|
|
- " }\n" +
|
|
|
- "}\n";
|
|
|
+ "\n";
|
|
|
+ if(plat==2){
|
|
|
+ configParam += " location ^~ /seller/ {\n" +
|
|
|
+ " try_files $uri $uri/ /seller/index.html?$args;\n" +
|
|
|
+ " }\n" ;
|
|
|
+ }
|
|
|
+ configParam+="}\n";
|
|
|
String param = String.format(configParam, host, filePath);
|
|
|
return param;
|
|
|
}
|