This website works better with JavaScript.
Home
Explore
Help
Sign In
bubblev
/
bubble
Watch
9
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
130
Wiki
Activity
Browse Source
fix nginx config for single-page app
tags/v0.1.8
Jonathan Cobb
5 years ago
parent
edf3798b81
commit
ca0b1d7730
4 changed files
with
16 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-1
automation/roles/nginx/templates/site_node.conf.j2
+4
-1
automation/roles/nginx/templates/site_node_alias.conf.j2
+4
-1
automation/roles/nginx/templates/site_sage.conf.j2
+4
-1
automation/roles/nginx/templates/site_sage_alias.conf.j2
+ 4
- 1
automation/roles/nginx/templates/site_node.conf.j2
View File
@@ -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
View File
@@ -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
View File
@@ -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
View File
@@ -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 {
Write
Preview
Loading…
Cancel
Save