We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a468486 commit b9874cbCopy full SHA for b9874cb
3 files changed
src/main/resources/application.yml
@@ -91,7 +91,7 @@ logging:
91
server:
92
port: 8080
93
servlet:
94
- context-path: /api
+ context-path: ""
95
encoding:
96
charset: UTF-8
97
enabled: true
src/main/resources/static/index.html
@@ -19,7 +19,7 @@ <h1>🚀 Spring Boot EC2 CI/CD Test</h1>
19
<p class="hint">자동배포 테스트 </p>
20
21
<p class="footer">
22
- 접속 주소 http://3.36.52.11:8080/
+ 접속 주소 http://퍼블릭 IPv4 주소:8080/
23
</p>
24
</div>
25
systemd/demo.service
@@ -5,7 +5,7 @@ After=network.target
5
[Service]
6
User=ec2-user
7
WorkingDirectory=/home/ec2-user/app
8
-ExecStart=/usr/bin/java -jar /home/ec2-user/app/app.jar demo.SpringbootEc2CicdDemoApplication
+ExecStart=/usr/bin/java -jar /home/ec2-user/app/app.jar
9
Restart=always
10
RestartSec=5
11
0 commit comments