ソースを参照

proper mapping of single-page app files to web root

tags/v0.1.8
Jonathan Cobb 4年前
コミット
0afb8150e3
4個のファイルの変更4行の追加0行の削除
  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 ファイルの表示

@@ -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 ファイルの表示

@@ -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 ファイルの表示

@@ -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 ファイルの表示

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

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



読み込み中…
キャンセル
保存