Comments (1)
I have been able to troubleshoot the problem.
There were additional request headers in my Nginx configuration. Only the following request headers are enough to work everything smoothly:
proxy_set_header Host $http_host;
proxy_set_header Scheme $scheme;
proxy_set_header SERVER_PORT $server_port;
proxy_set_header REMOTE_ADDR $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
Also, make sure you have updated the trusted proxies in the application.
// Example: Trusting all proxies
protected $proxies = '*';
For more information, please refer to this documentation.
from octane.
Related Issues (20)
- Fatal error with Swoole on a PUT request with application/x-www-form-urlencoded content type HOT 1
- Undefined array key "assets" HOT 4
- Loses communication with worker when using `dump()` HOT 4
- Swoole in HTTP/2 mode is incompatible with chunking large responses in `SwooleClient` HOT 1
- RoadRunner can't communicate with the worker HOT 20
- Octane fwrite no space on disk disable logging HOT 2
- SwooleHttpTaskDispatcher and Http::preventStrayRequests() HOT 3
- No documentation for custom HTTP headers? HOT 1
- Octane + FrankenPHP + Sail, stuck in "Application change detected. Restarting workers" HOT 11
- Thread support from Swoole HOT 1
- Maximum execution time exceeded HOT 1
- Memory Leak in ViewServiceProvider HOT 6
- FrankenPHP: Laravel `api` throttling not working (429 Too Many Requests) HOT 6
- Swoole - Access logs for non local/testing environments HOT 3
- FrankenPHP: Allow more control over which environment variables are delegated to frankenphp process HOT 3
- Proposed nginx configuration gives access to PHP files (sourcecode) in public folder HOT 8
- Some time Database Transaction Failed with Laravel Octane & swoole. HOT 1
- Streamed response gets buffered and returned in one chunk HOT 5
- Octane cannot detect changes in code deployed with deployer HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from octane.