We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f468c84 commit f7ba337Copy full SHA for f7ba337
packages/compas-open-scd/Dockerfile
@@ -1,8 +1,9 @@
1
FROM public.ecr.aws/nginx/nginx:1.29.1
2
3
-COPY nginx.conf /etc/nginx/nginx.conf
+COPY ./nginx/default.conf.template /etc/nginx/templates/default.conf.template
4
COPY build/. /usr/share/nginx/html
5
6
+ENV NGINX_PORT=8080
7
EXPOSE 8080
8
9
VOLUME /etc/nginx/
packages/compas-open-scd/nginx.conf
packages/compas-open-scd/nginx/default.conf.template
@@ -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;
+ }
10
11
+ error_page 500 502 503 504 /50x.html;
12
+ location = /50x.html {
13
14
15
+}
0 commit comments