Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-05-14 | PHP: implemented "targets" option. | Valentin Bartenev | 1 | -0/+1 | |
This allows to specify multiple subsequent targets inside PHP applications. For example: { "listeners": { "*:80": { "pass": "routes" } }, "routes": [ { "match": { "uri": "/info" }, "action": { "pass": "applications/my_app/phpinfo" } }, { "match": { "uri": "/hello" }, "action": { "pass": "applications/my_app/hello" } }, { "action": { "pass": "applications/my_app/rest" } } ], "applications": { "my_app": { "type": "php", "targets": { "phpinfo": { "script": "phpinfo.php", "root": "/www/data/admin", }, "hello": { "script": "hello.php", "root": "/www/data/test", }, "rest": { "root": "/www/data/example.com", "index": "index.php" }, } } } } | |||||
2019-08-20 | Introducing websocket support in router and libunit. | Max Romanov | 1 | -0/+1 | |
2019-03-21 | Adjusting request schema value according to connection tls state. | Max Romanov | 1 | -0/+1 | |
This closes #223 issue on GitHub. | |||||
2019-02-27 | Fixed processing of SERVER_NAME after 77aad2c142a0. | Valentin Bartenev | 1 | -1/+2 | |
Previously, the nxt_router_prepare_msg() function expected server host among other headers unmodified. It's not true anymore since normalization of the Host header has been introduced in 77aad2c142a0. The nxt_unit_split_host() function was removed. It didn't work correctly with IPv6 literals. Anyway, after 77aad2c142a0 the port splitting is done in router while Host header processing. | |||||
2018-08-06 | Unit application library. | Max Romanov | 1 | -0/+48 | |
Library now used in all language modules. Old 'nxt_app_*' code removed. See src/test/nxt_unit_app_test.c for usage sample. |