Render repository content through theme contracts
This commit is contained in:
@@ -12,6 +12,9 @@ Environment=NODE_ENV=production
|
||||
Environment=HOST=127.0.0.1
|
||||
Environment=PORT=3001
|
||||
Environment=LABYRICORN_BUILD_ROOT=/var/lib/website-engine/builds
|
||||
Environment=LABYRICORN_SITE_DEFINITION_REPOSITORY=/var/lib/website-engine/repositories/labyricorn-site-git-repo
|
||||
Environment=LABYRICORN_SITE_DEFINITION_REF=refs/heads/main
|
||||
Environment=LABYRICORN_SITE_DEFINITION_PATH=.
|
||||
ExecStart=/usr/bin/node /opt/website-engine-control-plane/dist/server.cjs
|
||||
Restart=on-failure
|
||||
RestartSec=5s
|
||||
|
||||
@@ -27,3 +27,17 @@ server {
|
||||
error_page 404 /404.html;
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
listen 8080 default_server;
|
||||
listen [::]:8080 default_server;
|
||||
server_name _;
|
||||
|
||||
root /var/lib/website-engine/builds/staging;
|
||||
index index.html;
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ =404;
|
||||
error_page 404 /404.html;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user