Add 2 image variants (root & rootless)
This commit is contained in:
parent
8019cd7240
commit
6e7c4e274a
5 changed files with 47 additions and 4 deletions
26
default-rootless.conf
Normal file
26
default-rootless.conf
Normal file
|
@ -0,0 +1,26 @@
|
|||
server {
|
||||
listen 8080;
|
||||
server_name localhost;
|
||||
|
||||
root /opt/www/;
|
||||
index index.html index.htm;
|
||||
|
||||
location /files/ {
|
||||
alias /opt/www/files/;
|
||||
index ___i; # we really need no index here, just listing files
|
||||
|
||||
autoindex on;
|
||||
autoindex_format json;
|
||||
disable_symlinks off;
|
||||
}
|
||||
|
||||
location / {
|
||||
root /opt/www/file-browser/;
|
||||
}
|
||||
|
||||
error_page 500 502 503 504 /50x.html;
|
||||
location = /50x.html {
|
||||
root /usr/share/nginx/html;
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue