unit
unit copied to clipboard
NGINX Unit - universal web app server - a lightweight and versatile open source server that simplifies the application stack by natively executing application code across eight different programming l...
Hi. My application uses unit 1.31.1 with a php embed module. The client makes POST requests to upload files. Sometimes unit does not respond and nginx proxy issues 504. php:...
even though we setup as in doc: https://unit.nginx.org/news/2023/unit-1.30.0-released/#application-logging still php error log goes to main unit.log file ``` "testsite": { "stderr": "/tmp/unit_app.log", "stdout": "/tmp/unit_app_error.log", "user": "unit", "type": "php 7.4", "targets":...
## Problem According to the [documentation ](https://unit.nginx.org/installation/#inst-lang-docker) it should be possible to build custom container images using official Docker base images using `make` in `pkg/docker`. Issuing ```bash make build-php8.3.0RC6 VERSIONS_php=8.3.0RC6...
"Application factory" means that the "app" object in your python code that you are passing to unit is not the app itself, but a callable that needs to be called...
When nodejs-app already includes `Transfer-Encoding` in the response headers, Unit will add an additional one, causing abnormal forwarding in Traefik. ``` level=debug msg="'500 Internal Server Error' caused by: net/http: HTTP/1.x...
Hi folks, I have php laravel app that servers big binary files, up to 600MB unit version: 1.31.1 config: ```json { "listeners": { "0.0.0.0:8080": { "pass": "routes" } }, "routes":...
Presently, including a `script app.php` in a nginx-unit php application's definition causes any requests to that app to execute `script`, ignoring `$uri` and `index`. This causes a problem for a...
hi, unit version: 1.31.1 i have some questions about scripting: 1. how to deubg 2. how to log variables 3. how to share data between every requests 4. it's complicated...
I have notice that during shutdown of NestJS based application which uses express internally I got an error: ``` TypeError: this.httpServer.close is not a function at /app/server/node_modules/@nestjs/platform-express/adapters/express-adapter.js:96:55 at new Promise...
Hi, how can i retrieve some metrics to pass later on grafana/prometheus. I can't find any information on the site