Skip to content

Commit

Permalink
Merge pull request #559 from dejavuhyo/patch-2024-10-28
Browse files Browse the repository at this point in the history
docs: update xml value
  • Loading branch information
dejavuhyo authored Oct 28, 2024
2 parents 95a6d99 + 3b54c17 commit dd56ffa
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions _posts/tomcat/2024-10-28-tomcat-subdomain-setting.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,18 @@ $ sudo vi server.xml
<!-- 기본 호스트 -->
<Host name="domain.com" appBase="webapps"
unpackWARs="true" autoDeploy="true">

<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
prefix="localhost_access_log" suffix=".txt"
pattern="%h %l %u %t &quot;%r&quot; %s %b" />
</Host>

<!-- 서브도메인 호스트 추가 -->
<Host name="sub.domain.com" appBase="sub_webapps"
unpackWARs="true" autoDeploy="true">
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
prefix="localhost_access_log" suffix=".txt"
pattern="%h %l %u %t &quot;%r&quot; %s %b" />
</Host>

</Engine>
Expand Down

0 comments on commit dd56ffa

Please sign in to comment.