This file contains hidden or 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
| == In earlier versions of Node, HTTPS with Connect was easy == | |
| var server = connect.createServer(middleware1, middleware2,...); | |
| server.setSecure(crypto.createCredentials({ | |
| key: myHttpsKey, | |
| cert: myHttpsCert | |
| })); | |
| server.listen(port); |
This file contains hidden or 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
| testing |
This file contains hidden or 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
| <sitemesh> | |
| <!-- There can be multiple <mapping> elements --> | |
| <!-- Apply decorator to all paths by default, unless another matches --> | |
| <mapping decorator="/default-decorator.html"/> | |
| <!-- More mappings, with paths. --> | |
| <mapping path="/path1/*" decorator="/another-decorator.html"/> | |
| <mapping path="/path1/*" decorator="/another-decorator.html"/> |
This file contains hidden or 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
| 1. Basic usage: | |
| <sitemesh srcdir="src" | |
| config="myconfig.xml" | |
| destdir="dest" | |
| includes="*.html"/> | |
| 2. Includes/excludes: | |
| <sitemesh srcdir="src" | |
| config="myconfig.xml" | |
| destdir="dest" |
NewerOlder