소스 검색

fix nginx config for single-page app

tags/v0.1.8
Jonathan Cobb 5 년 전
부모
커밋
ca0b1d7730
4개의 변경된 파일16개의 추가작업 그리고 4개의 파일을 삭제
  1. +4
    -1
      automation/roles/nginx/templates/site_node.conf.j2
  2. +4
    -1
      automation/roles/nginx/templates/site_node_alias.conf.j2
  3. +4
    -1
      automation/roles/nginx/templates/site_sage.conf.j2
  4. +4
    -1
      automation/roles/nginx/templates/site_sage_alias.conf.j2

+ 4
- 1
automation/roles/nginx/templates/site_node.conf.j2 파일 보기

@@ -2,8 +2,11 @@ server {
server_name {{ server_name }};
listen {{ ssl_port }} ssl http2;

root /home/bubble/site/;
index index.html;

location / {
root /home/bubble/site/;
try_files $uri /index.html =404;
}

location /api {


+ 4
- 1
automation/roles/nginx/templates/site_node_alias.conf.j2 파일 보기

@@ -2,8 +2,11 @@ server {
server_name {{ server_alias }};
listen {{ ssl_port }} ssl http2;

root /home/bubble/site/;
index index.html;

location / {
root /home/bubble/site/;
try_files $uri /index.html =404;
}

location /api {


+ 4
- 1
automation/roles/nginx/templates/site_sage.conf.j2 파일 보기

@@ -2,8 +2,11 @@ server {
listen 80;
server_name {{ server_name }};

root /home/bubble/site/;
index index.html;

location / {
root /home/bubble/site/;
try_files $uri /index.html =404;
}

location /api {


+ 4
- 1
automation/roles/nginx/templates/site_sage_alias.conf.j2 파일 보기

@@ -2,8 +2,11 @@ server {
listen 80;
server_name {{ server_alias }};

root /home/bubble/site/;
index index.html;

location / {
root /home/bubble/site/;
try_files $uri /index.html =404;
}

location /api {


불러오는 중...
취소
저장