-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The current REST implemenation is associated to /v1 path and the /rest path is a redirect to the /v1. This would make easier to switch between REST implementations.
- Loading branch information
Showing
16 changed files
with
67 additions
and
24 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
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
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
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
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,18 +1,21 @@ | ||
# 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 | ||
RewriteRule ^/acme/login$ /acme/v1/login | ||
RewriteRule ^/acme/logout$ /acme/v1/logout | ||
RewriteRule ^/acme/enable$ /acme/v1/enable | ||
RewriteRule ^/acme/disable$ /acme/v1/disable | ||
RewriteRule ^/acme/directory$ /acme/v1/directory | ||
RewriteRule ^/acme/new-nonce$ /acme/v1/new-nonce | ||
RewriteRule ^/acme/new-account$ /acme/v1/new-account | ||
RewriteRule ^/acme/new-order$ /acme/v1/new-order | ||
RewriteRule ^/acme/authz/(.*)$ /acme/v1/authz/$1 | ||
RewriteRule ^/acme/chall/(.*)$ /acme/v1/chall/$1 | ||
RewriteRule ^/acme/order/(.*)$ /acme/v1/order/$1 | ||
RewriteRule ^/acme/acct/(.*)$ /acme/v1/acct/$1 | ||
RewriteRule ^/acme/cert/(.*)$ /acme/v1/cert/$1 | ||
RewriteRule ^/acme/revoke-cert$ /acme/v1/revoke-cert | ||
|
||
# EST | ||
RewriteRule ^/.well-known/est/(.*)$ /est/rest/$1 | ||
RewriteRule ^/.well-known/est/(.*)$ /est/v1/$1 | ||
|
||
# REST APIs | ||
RewriteRule ^/(ca|tps|tks|ocsp|kra)/rest/(.*)$ /$1/v1/$2 |
Oops, something went wrong.