Skip to content

Commit

Permalink
build: remove swagger, add API doc in deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
ljy2855 committed Jan 25, 2024
1 parent de1d767 commit 32bf7a5
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,22 @@ server {
proxy_redirect off;
}

location /swagger{
# dev 용 swagger prod에선 주석 후 배포해주세요.
# location /swagger{
# # dev 용 swagger prod에선 주석 후 배포해주세요.
# proxy_connect_timeout 300s;
# proxy_read_timeout 600s;
# proxy_send_timeout 600s;
# proxy_buffers 8 16k;
# proxy_buffer_size 32k;

# proxy_pass http://apply;
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# proxy_set_header Host $host;
# proxy_redirect off;
# }

location /redoc{
# API 문서
proxy_connect_timeout 300s;
proxy_read_timeout 600s;
proxy_send_timeout 600s;
Expand Down

0 comments on commit 32bf7a5

Please sign in to comment.