Kaynağa Gözat

proper mapping of single-page app files to web root

tags/v0.1.8
Jonathan Cobb 4 yıl önce
ebeveyn
işleme
0afb8150e3
4 değiştirilmiş dosya ile 4 ekleme ve 0 silme
  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 Dosyayı Görüntüle

@@ -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 Dosyayı Görüntüle

@@ -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 Dosyayı Görüntüle

@@ -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 Dosyayı Görüntüle

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

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



Yükleniyor…
İptal
Kaydet