This commit is contained in:
benoit 2020-05-08 13:59:26 +00:00
parent bd128edf16
commit e6e18467cd

View file

@ -67,4 +67,10 @@ log_format custom '$http_x_forwarded_for - $remote_user [$time_local] '
'"$request" $status $body_bytes_sent ' '"$request" $status $body_bytes_sent '
'"$http_referer" "$http_user_agent"'; '"$http_referer" "$http_user_agent"';
access_log /var/log/nginx/access.log custom; access_log /var/log/nginx/access.log custom;
```
Aller dans le namespace de LXD (snap0 pour faire des actions genre mount/umount :
```
# nsenter -t $(cat /var/snap/lxd/common/lxd.pid) -m
``` ```