Skip to content
This repository has been archived by the owner on Oct 5, 2022. It is now read-only.

fabric8 ui : ls: cannot open directory /var/lib/nginx/: Permission denied #7064

Open
niladribhandari opened this issue May 31, 2018 · 1 comment

Comments

@niladribhandari
Copy link

niladribhandari commented May 31, 2018

kubernetes cluster 1.9.7-gke.1 issues
root /usr/share/nginx/html;
# Load configuration files for the default server block.
include /etc/nginx/default.d/*.conf;
location / {
etag off;
if_modified_since off;
more_clear_headers 'Last-Modified';
}
location /_assets/ {
etag on;
gzip on;
if_modified_since off;
more_clear_headers 'Last-Modified';
# expires 1y;
}
# CORS proxy to OSO
# Avoid Nginx caching DNS lookup for ever, causing problems when
# combined with changing DNS, e.g. Amazon ELB
# https://tenzer.dk/nginx-with-dynamic-upstreams/
resolver 8.8.8.8;
set $oso ;
error_page 500 502 503 504 /50x.html;
location = /50x.html {
}
gzip on;
gzip_min_length 1000;
gzip_comp_level 9;
gzip_proxied expired no-cache no-store private auth;
gzip_types text/plain text/css application/javascript application/xml;
}

Settings for a TLS enabled server.

- we dont do TLS here, offload that to the openshift edge instead

}


uid=1000(fabric8) gid=1000(fabric8) groups=1000(fabric8)

ls: cannot open directory /var/lib/nginx/: Permission denied
total 8
drwxrwxrwx 2 nginx nginx 4096 Mar 20 2017 .
drwxr-xr-x 5 root root 4096 May 30 18:26 ..
nginx: [emerg] invalid number of arguments in "set" directive in /etc/nginx/nginx.conf:78

@harrison-tarr
Copy link

i'm seeing the same issue with no resolution. any ideas? fabric8io/fabric8-platform#1953

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants