-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The ACME subsystem has been modified to automatically initialize the ACME application without an explicit dependency on RESTEasy. Since a JAX-RS application cannot have an empty path, the ACME application needs to be relocated to /rest and the endpoints need to be mapped to the new location as well. https://docs.jboss.org/resteasy/docs/3.0.24.Final/userguide/html_single/#d4e143 https://stackoverflow.com/questions/10874188/jax-rs-application-on-the-root-context-how-can-it-be-done
- Loading branch information
Showing
3 changed files
with
23 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,18 @@ | ||
# ACME | ||
RewriteRule ^/acme/login$ /acme/rest/login | ||
RewriteRule ^/acme/logout$ /acme/rest/logout | ||
RewriteRule ^/acme/enable$ /acme/rest/enable | ||
RewriteRule ^/acme/disable$ /acme/rest/disable | ||
RewriteRule ^/acme/directory$ /acme/rest/directory | ||
RewriteRule ^/acme/new-nonce$ /acme/rest/new-nonce | ||
RewriteRule ^/acme/new-account$ /acme/rest/new-account | ||
RewriteRule ^/acme/new-order$ /acme/rest/new-order | ||
RewriteRule ^/acme/authz/(.*)$ /acme/rest/authz/$1 | ||
RewriteRule ^/acme/chall/(.*)$ /acme/rest/chall/$1 | ||
RewriteRule ^/acme/order/(.*)$ /acme/rest/order/$1 | ||
RewriteRule ^/acme/acct/(.*)$ /acme/rest/acct/$1 | ||
RewriteRule ^/acme/cert/(.*)$ /acme/rest/cert/$1 | ||
RewriteRule ^/acme/revoke-cert$ /acme/rest/revoke-cert | ||
|
||
# EST | ||
RewriteRule ^/.well-known/est/(.*)$ /est/$1 |