mirror of https://github.com/MISP/misp-docker
Add misp-network to compose file.
Uncomment NGINX http>https redirect
parent
e44719ea6f
commit
fbc34de9c4
|
@ -5,13 +5,15 @@ services:
|
|||
build:
|
||||
context: misp-proxy
|
||||
container_name: misp-proxy
|
||||
depends_on:
|
||||
- misp-web
|
||||
hostname: misp-proxy
|
||||
image: misp-proxy:latest
|
||||
networks:
|
||||
- misp-network
|
||||
ports:
|
||||
- 80:80
|
||||
- 443:443
|
||||
- 81:80
|
||||
- 4443:443
|
||||
|
||||
misp-web:
|
||||
build: misp-web
|
||||
|
@ -53,3 +55,7 @@ services:
|
|||
- /data/mysql:/var/lib/mysql
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=xxxxxxxx
|
||||
|
||||
networks:
|
||||
misp-network:
|
||||
driver: bridge
|
||||
|
|
|
@ -2,11 +2,11 @@
|
|||
server {
|
||||
listen 80;
|
||||
listen 443 ssl http2;
|
||||
server_name misp.local;
|
||||
server_name misp.test;
|
||||
|
||||
#if ($scheme != "https") {
|
||||
# rewrite ^ https://$host$uri permanent;
|
||||
#}
|
||||
if ($scheme != "https") {
|
||||
rewrite ^ https://$host$uri permanent;
|
||||
}
|
||||
|
||||
# Path for SSL config/key/certificate
|
||||
ssl_certificate /etc/ssl/certs/nginx/misp.crt;
|
||||
|
|
Loading…
Reference in New Issue