You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What version of Cloud Foundry and CF CLI are you using? (i.e. What is the output of running cf curl /v2/info && cf version?
cf api version 2.209.0
cf cli - cf version 7.5.0+0ad1d63.2022-06-04
What version of the buildpack you are using?
nginx_buildpack-cached-cflinuxfs4-v1.2.6.zip
If you were attempting to accomplish a task, what was it you were attempting to do?
We are trying run an application with multiple process, one being nginx and other one node-js. The nginx will have rate limiiting configuration and it routes to the nodejs process. (We dont want to use the cf route service).
Manifest configuration:
What did you expect to happen?
Both the process should work.
What was the actual behavior?
Nodejs process was started and running, nginx process crashed with the error
2023-09-26T17:02:07.08+0530 [APP/PROC/WEB/0] ERR 2023/09/26 11:32:07 [emerg] 8#0: directive "resolver" is not terminated by ";" in /home/vcap/app/./nginx.conf:10
cf app output:
➜ cf-sample-app-nodejs git:(master) ✗ cf app cf-nodejs
Showing health and status for app cf-nodejs in org ORG / space SPACE as [email protected]
name: cf-nodejs
requested state: started
routes: cf-nodejs-appreciative-zebra-bd.<domain>.com
last uploaded: Tue 26 Sep 16:51:19 IST 2023
stack: cflinuxfs4
buildpacks:
name version detect output buildpack name
nginx_buildpack 1.2.6 nginx
nodejs_buildpack 1.8.13 nodejs nodejs
type: web
sidecars:
instances: 0/1
memory usage: 1024M
state since cpu memory disk details
#0 crashed 2023-09-26T11:32:14Z 0.0% 0 of 1G 0 of 1G
type: worker
sidecars:
instances: 2/2
memory usage: 1024M
state since cpu memory disk details
#0 running 2023-09-26T11:21:30Z 1.6% 33M of 1G 213M of 1G
#1 running 2023-09-26T11:21:30Z 1.6% 32.7M of 1G 213M of 1G
What version of Cloud Foundry and CF CLI are you using? (i.e. What is the output of running
cf curl /v2/info && cf version
?cf api version 2.209.0
cf cli - cf version 7.5.0+0ad1d63.2022-06-04
What version of the buildpack you are using?
nginx_buildpack-cached-cflinuxfs4-v1.2.6.zip
If you were attempting to accomplish a task, what was it you were attempting to do?
We are trying run an application with multiple process, one being nginx and other one node-js. The nginx will have rate limiiting configuration and it routes to the nodejs process. (We dont want to use the cf route service).
Manifest configuration:
nginx configuration:
What did you expect to happen?
Both the process should work.
What was the actual behavior?
Nodejs process was started and running, nginx process crashed with the error
cf app output:
Alternatively used the
Procfile
We got the same error.
If we comment the
resolver
andlisten
port in thenginx.conf
, that both process will be running but it is quite obvious it will not solve our purpose.Please confirm where necessary:
The text was updated successfully, but these errors were encountered: