Skip to content

Commit b9874cb

Browse files
committed
chore : API setting
1 parent a468486 commit b9874cb

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/main/resources/application.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ logging:
9191
server:
9292
port: 8080
9393
servlet:
94-
context-path: /api
94+
context-path: ""
9595
encoding:
9696
charset: UTF-8
9797
enabled: true

src/main/resources/static/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ <h1>🚀 Spring Boot EC2 CI/CD Test</h1>
1919
<p class="hint">자동배포 테스트 </p>
2020

2121
<p class="footer">
22-
접속 주소 http://3.36.52.11:8080/
22+
접속 주소 http://퍼블릭 IPv4 주소:8080/
2323
</p>
2424
</div>
2525

systemd/demo.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ After=network.target
55
[Service]
66
User=ec2-user
77
WorkingDirectory=/home/ec2-user/app
8-
ExecStart=/usr/bin/java -jar /home/ec2-user/app/app.jar demo.SpringbootEc2CicdDemoApplication
8+
ExecStart=/usr/bin/java -jar /home/ec2-user/app/app.jar
99
Restart=always
1010
RestartSec=5
1111

0 commit comments

Comments
 (0)