mirror of
https://github.com/sartography/cr-connect-bpmn.git
synced 2025-02-02 20:04:05 +00:00
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
|
||||
|
11
nginx.conf
Normal file
11
nginx.conf
Normal file
@ -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…
x
Reference in New Issue
Block a user