Skip to content

Commit a5fb4da

Browse files
CLAP-234 nginx 파일 크기 제한 설정
CLAP-234 nginx 파일 크기 제한 설정
2 parents a7eccc4 + e981d14 commit a5fb4da

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/CD.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ jobs:
2929
- name: Build with npm
3030
run: npm run build-only
3131

32+
- name: Create nginxfile.conf
33+
run: touch ./nginxfile.conf
34+
- run: echo "${{ secrets.NGINX_FILE_CONF }}" > ./nginxfile.conf
35+
3236
- name: Create nginx.conf
3337
run: touch ./nginx.conf
3438
- run: echo "${{ secrets.NGINX_CONF }}" > ./nginx.conf

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
FROM nginx
2+
COPY nginxfile.conf /etc/nginx/nginx.conf
23
COPY nginx.conf /etc/nginx/conf.d/default.conf
34
COPY dist/. /usr/share/nginx/html/
45
CMD ["nginx", "-g", "daemon off;"]

0 commit comments

Comments
 (0)