Update nginx.conf
Browse files- nginx.conf +1 -2
nginx.conf
CHANGED
|
@@ -44,9 +44,8 @@ http {
|
|
| 44 |
fastcgi_pass unix:/run/php/php7.4-fpm.sock;
|
| 45 |
}
|
| 46 |
|
| 47 |
-
location @
|
| 48 |
proxy_pass http://127.0.0.1:8080;
|
| 49 |
-
proxy_set_header Host $host;
|
| 50 |
proxy_set_header X-Real-IP $remote_addr;
|
| 51 |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
| 52 |
proxy_set_header X-Forwarded-Host $host;
|
|
|
|
| 44 |
fastcgi_pass unix:/run/php/php7.4-fpm.sock;
|
| 45 |
}
|
| 46 |
|
| 47 |
+
location @opcode {
|
| 48 |
proxy_pass http://127.0.0.1:8080;
|
|
|
|
| 49 |
proxy_set_header X-Real-IP $remote_addr;
|
| 50 |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
| 51 |
proxy_set_header X-Forwarded-Host $host;
|