Procházet zdrojové kódy

proper mapping of single-page app files to web root

tags/v0.1.8
Jonathan Cobb před 4 roky
rodič
revize
0afb8150e3
4 změnil soubory, kde provedl 4 přidání a 0 odebrání
  1. +1
    -0
      automation/roles/nginx/templates/site_node.conf.j2
  2. +1
    -0
      automation/roles/nginx/templates/site_node_alias.conf.j2
  3. +1
    -0
      automation/roles/nginx/templates/site_sage.conf.j2
  4. +1
    -0
      automation/roles/nginx/templates/site_sage_alias.conf.j2

+ 1
- 0
automation/roles/nginx/templates/site_node.conf.j2 Zobrazit soubor

@@ -6,6 +6,7 @@ server {
index index.html;

location / {
rewrite ^/(\w+/)+(?<basename>.*)$ /$basename break;
try_files $uri /index.html =404;
}



+ 1
- 0
automation/roles/nginx/templates/site_node_alias.conf.j2 Zobrazit soubor

@@ -6,6 +6,7 @@ server {
index index.html;

location / {
rewrite ^/(\w+/)+(?<basename>.*)$ /$basename break;
try_files $uri /index.html =404;
}



+ 1
- 0
automation/roles/nginx/templates/site_sage.conf.j2 Zobrazit soubor

@@ -6,6 +6,7 @@ server {
index index.html;

location / {
rewrite ^/(\w+/)+(?<basename>.*)$ /$basename break;
try_files $uri /index.html =404;
}



+ 1
- 0
automation/roles/nginx/templates/site_sage_alias.conf.j2 Zobrazit soubor

@@ -6,6 +6,7 @@ server {
index index.html;

location / {
rewrite ^/(\w+/)+(?<basename>.*)$ /$basename break;
try_files $uri /index.html =404;
}



Načítá se…
Zrušit
Uložit