mirror of https://github.com/MISP/misp-docker
Add nginx route (/feeds) that exposes various MISP feeds (#9)
Signed-off-by: Sebastiano Mariani <smariani@vmware.com>pull/1/head
parent
212a9ca557
commit
814379c22f
|
@ -2,5 +2,6 @@
|
|||
/files/
|
||||
/ssl/
|
||||
/configs/
|
||||
/public/
|
||||
.gnupg
|
||||
.env
|
||||
|
|
|
@ -41,6 +41,7 @@ services:
|
|||
- "./logs/:/var/www/MISP/app/tmp/logs/:delegated"
|
||||
- "./files/:/var/www/MISP/app/files/:delegated"
|
||||
- "./ssl/:/etc/nginx/certs/:delegated"
|
||||
- "${PUBLIC_MOUNT_POINT}:/mnt/public/:delegated"
|
||||
# - "./examples/custom-entrypoint.sh:/custom-entrypoint.sh" # Use the example custom-entrypoint.sh
|
||||
- "./.gnupg/:/var/www/MISP/.gnupg/:delegated"
|
||||
environment:
|
||||
|
@ -60,6 +61,7 @@ services:
|
|||
"pull_rules": "{\"tags\":{\"OR\":[],\"NOT\":[]},\"orgs\":{\"OR\":[],\"NOT\":[]},\"url_params\":\"{\\\"searchanalysis\\\": \\\"2\\\"}\"}",
|
||||
"pull": true
|
||||
}
|
||||
- "ORGANIZATIONS=${ORGANIZATIONS}"
|
||||
# Database Configuration (And their defaults)
|
||||
# - "MYSQL_HOST=db"
|
||||
# - "MYSQL_USER=misp"
|
||||
|
|
|
@ -39,6 +39,14 @@ server {
|
|||
# Remove X-Powered-By, which is an information leak
|
||||
fastcgi_hide_header X-Powered-By;
|
||||
|
||||
location /public {
|
||||
root /mnt;
|
||||
autoindex on;
|
||||
autoindex_exact_size off;
|
||||
autoindex_format html;
|
||||
autoindex_localtime on;
|
||||
}
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /index.php$is_args$query_string;
|
||||
}
|
||||
|
|
|
@ -37,6 +37,14 @@ server {
|
|||
# Remove X-Powered-By, which is an information leak
|
||||
fastcgi_hide_header X-Powered-By;
|
||||
|
||||
location /public {
|
||||
root /mnt;
|
||||
autoindex on;
|
||||
autoindex_exact_size off;
|
||||
autoindex_format html;
|
||||
autoindex_localtime on;
|
||||
}
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /index.php$is_args$query_string;
|
||||
}
|
||||
|
|
|
@ -22,3 +22,5 @@ SMARTHOST_ALIASES=
|
|||
|
||||
# comma separated list of organizations to create (e.g ORGANIZATIONS="ORG1, ORG2, ORG3")
|
||||
ORGANIZATIONS=
|
||||
# Host folder containing the files generated by external tools
|
||||
PUBLIC_MOUNT_POINT=./public
|
||||
|
|
Loading…
Reference in New Issue