Skip to content

Commit a9a6b62

Browse files
authored
Update nginx.prod.conf (#26)
mime types
1 parent 1151950 commit a9a6b62

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.github/workflows/cd.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,8 @@ on:
55
push:
66
branches:
77
- 'main'
8-
- 'staging'
98
tags:
109
- 'v*'
11-
pull_request:
12-
branches:
13-
- 'main'
14-
- 'staging'
1510

1611
jobs:
1712
build:

docker/nginx.prod.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,13 @@ http {
1818
alias /usr/share/nginx/html/static/; # The nginx container's mounted volume.
1919
expires 30d;
2020
add_header Cache-Control public;
21+
include /etc/nginx/mime.types;
2122
}
2223

2324
# Serve user uploaded files
2425
location /silo/ {
2526
alias /usr/share/nginx/html/silo/; # The container's mounted volume.
27+
include /etc/nginx/mime.types;
2628
}
2729

2830
# Proxy requests to the Django app running in gunicorn

0 commit comments

Comments
 (0)