linagora / esn-frontend-common-libs

Common ground for OpenPaaS frontend (https://open-paas.org)
Other
4 stars 12 forks source link

update nginx.conf to be able to build each SPA and have a location to the SPA name #196

Open fabienmoyon opened 3 years ago

fabienmoyon commented 3 years ago

Update nginx.conf to be able to build each SPA and have a location to the SPA name

Need to done on each SPA :

server {
  listen 80;
  index index.html;
  root /usr/share/nginx/html;

  location /:SPA {
    alias /usr/share/nginx/html/;
  }
  include /etc/nginx/extra-conf.d/*.conf;
}