Skip to content

Instantly share code, notes, and snippets.

@babanin
Created November 29, 2014 20:25
Show Gist options
  • Save babanin/c4e2218b9e5227abb05b to your computer and use it in GitHub Desktop.
Save babanin/c4e2218b9e5227abb05b to your computer and use it in GitHub Desktop.
Jetty Virtualhosts
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure.dtd">
<Configure class="org.eclipse.jetty.webapp.WebAppContext">
<Set name="contextPath">/</Set>
<Set name="virtualHosts">
<Array type="java.lang.String">
<Item>${YOUR_HOST_NAME}</Item>
<Item>${YOUR_HOST_NAME_2}</Item>
</Array>
</Set>
</Configure>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment