summaryrefslogtreecommitdiff
path: root/nginx
diff options
context:
space:
mode:
authorDaniel Micay <daniel.micay@grapheneos.org>2023-07-15 16:34:24 -0400
committerDaniel Micay <daniel.micay@grapheneos.org>2023-07-15 17:56:13 -0400
commitc748d7e9607f443ffe8f736e279728a15c078a6b (patch)
treedcac99fcd1e7025df87ee87344617b252ecafd3e /nginx
parent8a4a08cae892399ba37a3dfcba8009d0438e4333 (diff)
simplify nginx configuration deployment
Diffstat (limited to 'nginx')
-rw-r--r--nginx/nginx.conf2
-rw-r--r--nginx/root_grapheneos.org.conf2
2 files changed, 3 insertions, 1 deletions
diff --git a/nginx/nginx.conf b/nginx/nginx.conf
index b8785792..e24eb249 100644
--- a/nginx/nginx.conf
+++ b/nginx/nginx.conf
@@ -187,7 +187,7 @@ http {
listen [::]:443 ssl http2;
server_name grapheneos.org;
- root /srv/grapheneos.org;
+ include root_grapheneos.org.conf;
error_page 403 =404 /404;
error_page 404 /404;
diff --git a/nginx/root_grapheneos.org.conf b/nginx/root_grapheneos.org.conf
new file mode 100644
index 00000000..5699478e
--- /dev/null
+++ b/nginx/root_grapheneos.org.conf
@@ -0,0 +1,2 @@
+# placeholder for gixy
+root /srv/grapheneos.org_a;