Adds custom nginx configuration file
This commit is contained in:
parent
796cfae248
commit
4a0fd867f3
|
@ -14,3 +14,4 @@ RUN npm install && \
|
|||
### STAGE 2: Run ###
|
||||
FROM nginx:alpine
|
||||
COPY --from=builder /crc-bpmn/dist/cr-connect-bpmn /usr/share/nginx/html/
|
||||
COPY --from=builder /crc-bpmn/nginx.conf /etc/nginx/conf.d/default.conf
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
server {
|
||||
listen 80;
|
||||
|
||||
location / {
|
||||
root /usr/share/nginx/html;
|
||||
index index.html index.htm;
|
||||
try_files $uri $uri/ /index.html =404;
|
||||
}
|
||||
|
||||
include /etc/nginx/extra-conf.d/*.conf;
|
||||
}
|
Loading…
Reference in New Issue