Skip to content

Instantly share code, notes, and snippets.

View stoan's full-sized avatar

Siya Sosibo stoan

View GitHub Profile
@stoan
stoan / undertow-handlers.conf
Last active September 14, 2021 16:36
Undertow(Wildfly/Jboss) url rewrite configuration file for AngularJS
regex['(.*/orders/?.*?$)'] and not regex['(.*/app.*)'] -> rewrite['/index.html']
regex['(.*/products/?.*?$)'] and not regex['(.*/app.*)'] -> rewrite['/index.html']
regex['(.*/invoices/?.*?$)'] and not regex['(.*/app.*)'] -> rewrite['/index.html']