laravel roadrunner

Solutions on MaxInterview for laravel roadrunner by the best coders in the world

showing results for - "laravel roadrunner"
Oprah
07 Jan 2019
1server {
2    listen 80;
3    server_name example.com; 
4    root /var/virtual/example.com/webroot;
5
6    location / {
7        try_files $uri @backend8080;
8    }
9
10    location @backend8080 {
11       # roadrunner server
12        proxy_pass http://127.0.0.1:8080; 
13      
14      
15        proxy_set_header Host $host;
16        proxy_set_header X-Real-IP $remote_addr;
17        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
18        proxy_set_header X-Forwarded-Host $server_name;
19    }
20}