- Serving Static Content
You can serve static content from a location in a file system or from the classpath.
Serving Static Content
META-INF/microprofile-config.properties - File system static content
# Location of content on file system
server.static.path.location=/var/www/html
# default is index.html
server.static.path.welcome=resource.html
# static content path - default is "/"
# server.static.path.context=/static-filecontent_copy
META-INF/microprofile-config.properties - Classpath static content
# src/main/resources/WEB in your source tree
server.static.classpath.location=/WEB
# default is index.html
server.static.classpath.welcome=resource.html
# static content path - default is "/"
# server.static.classpath.context=/static-cpcontent_copy