Skip to content

feat: 리버스 프록시 설정 #55

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Jul 5, 2024
Merged
3 changes: 2 additions & 1 deletion .github/workflows/frontend-ci-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ jobs:

- name: build
run: npm run build

- name: 검사
run: ls -al && ls -al ./secret && ls -al ./secret/frontend && npm run cp:security && ls -al
- name: Google Auth
id: auth
uses: 'google-github-actions/auth@v2'
Expand Down
1 change: 1 addition & 0 deletions frontend/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@ dist-ssr

.env
.env.prod
nginx.conf
2 changes: 1 addition & 1 deletion frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ COPY --from=build /app/dist /usr/share/nginx/html
RUN rm /etc/nginx/conf.d/default.conf

# custom 설정파일을 컨테이너 내부로 복사한다.
COPY nginx/nginx.conf /etc/nginx/conf.d
COPY secret/frontend/nginx/nginx.conf /etc/nginx/conf.d

# 컨테이너의 80번 포트를 열어준다.
EXPOSE 80
Expand Down
12 changes: 0 additions & 12 deletions frontend/nginx/nginx.conf

This file was deleted.

2 changes: 1 addition & 1 deletion frontend/secret
Loading