location /apps { # root html; alias /usr/local/nginx/html; index index.html index.htm; try_files $uri $uri/ /index.html; }