Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion packages/compas-open-scd/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
FROM public.ecr.aws/nginx/nginx:1.29.1

COPY nginx.conf /etc/nginx/nginx.conf
COPY ./nginx/default.conf.template /etc/nginx/templates/default.conf.template
COPY build/. /usr/share/nginx/html

ENV NGINX_PORT=8080
EXPOSE 8080

VOLUME /etc/nginx/
Expand Down
21 changes: 0 additions & 21 deletions packages/compas-open-scd/nginx.conf

This file was deleted.

15 changes: 15 additions & 0 deletions packages/compas-open-scd/nginx/default.conf.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
server {
listen ${NGINX_PORT};
listen [::]:${NGINX_PORT};
server_name localhost;

location / {
root /usr/share/nginx/html;
index index.html index.htm;
}

error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
}
2 changes: 1 addition & 1 deletion packages/compas-open-scd/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "compas-open-scd",
"version": "0.41.0-4",
"version": "0.41.0-5",
"repository": "https://github.com/openscd/open-scd.git",
"description": "OpenSCD CoMPAS Edition",
"directory": "packages/compas-open-scd",
Expand Down