Skip to content

Commit 9e14584

Browse files
author
h2jinee
committed
[fix] Swagger UI 경로 매핑 문제 해결 및 nginx 설정 수정
1 parent 53502ff commit 9e14584

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

src/main/resources/application.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,19 @@ logging:
2020

2121
server:
2222
port: 8080
23+
forward-headers-strategy: framework
24+
25+
# SpringDoc OpenAPI 설정
26+
springdoc:
27+
swagger-ui:
28+
path: /api
29+
config-url: /api/v3/api-docs/swagger-config
30+
url: /api/v3/api-docs
31+
api-docs:
32+
path: /api/v3/api-docs
33+
show-actuator: true
34+
default-consumes-media-type: application/json
35+
default-produces-media-type: application/json
2336

2437
# Spring Boot Actuator 설정
2538
management:

0 commit comments

Comments
 (0)