adding sample docker file and nginx config
This commit is contained in:
parent
7777c11584
commit
07528ab957
2 changed files with 40 additions and 0 deletions
28
default.conf
Normal file
28
default.conf
Normal file
|
@ -0,0 +1,28 @@
|
|||
server {
|
||||
listen 80;
|
||||
server_name localhost;
|
||||
|
||||
root /opt/www/;
|
||||
index index.html index.htm;
|
||||
|
||||
location ~* (/javadoc)|(/tests) {
|
||||
autoindex off;
|
||||
}
|
||||
|
||||
location /files/ {
|
||||
root /opt/www/; # will at the end serve /opt/www/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