rename nexus dir
This commit is contained in:
parent
83e4244059
commit
22c1ee2b9c
@ -11,8 +11,8 @@ RUN useradd --create-home nexus && \
|
||||
ln -s /data/nexus_authorized_keys /home/nexus/.ssh/authorized_keys
|
||||
|
||||
# Misc conf
|
||||
RUN mkdir /start.d /nexus /var/run/sshd && \
|
||||
chown nexus /nexus && \
|
||||
RUN mkdir /start.d /data /var/run/sshd && \
|
||||
chown nexus /data && \
|
||||
rm /etc/ssh/ssh_host_* && \
|
||||
mkdir /etc/ssh/keys && \
|
||||
sed -i -E 's/#?HostKey \/etc\/ssh\//HostKey \/data\/keys\//' /etc/ssh/sshd_config && \
|
||||
|
2
default
2
default
@ -8,6 +8,8 @@ server {
|
||||
server_name localhost;
|
||||
|
||||
#client_body_temp_path /data/tmp/;
|
||||
#fastcgi_temp_path /data/tmp/;
|
||||
#proxy_temp_path /data/tmp/;
|
||||
#auth_basic "Restricted";
|
||||
#auth_basic_user_file /data/htpasswd;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user