Open
Description
I have a simple nginx.conf
at the root of my git
repository. I want to launch Nginx in a pod with this command: oc new-app registry.access.redhat.com/rhscl/nginx-114-rhel7~https://github.com/user/repo.git
The build and deployment configuration seem to have gone fine. However, the pod does not show any log output at all! How do I verify if the launch is successful or not?
nginx.conf
events { }
http {
log_format main '$time_iso8601 - $remote_addr - "$http_user_agent" - "$request" - $request_id '
'- $status - $body_bytes_sent - $request_time ';
upstream registry {
least_conn;
server localhost:3000;
}
server {
location / {
proxy_set_header X-Nginx-Header $request_id;
proxy_pass http://registry/;
}
}
}
Metadata
Assignees
Labels
No labels