mirror of
https://github.com/valitydev/docker-misp.git
synced 2024-11-06 00:35:18 +00:00
Seperate misp configs per port
This commit is contained in:
parent
89caffc58e
commit
690094e6ed
@ -121,6 +121,7 @@ ARG PHP_VER
|
||||
# nginx
|
||||
RUN rm /etc/nginx/sites-enabled/*; mkdir /run/php
|
||||
COPY files/etc/nginx/misp /etc/nginx/sites-enabled/misp
|
||||
COPY files/etc/nginx/misp80 /etc/nginx/sites-enabled/misp80
|
||||
|
||||
# Make a copy of the file store, so we can sync from it
|
||||
RUN cp -R /var/www/MISP/app/files /var/www/MISP/app/files.dist
|
||||
|
@ -1,15 +1,3 @@
|
||||
server {
|
||||
listen 80 default_server;
|
||||
listen [::]:80 default_server;
|
||||
|
||||
# Disable access logs
|
||||
access_log off;
|
||||
log_not_found off;
|
||||
error_log /dev/stderr error;
|
||||
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
|
11
server/files/etc/nginx/misp80
Normal file
11
server/files/etc/nginx/misp80
Normal file
@ -0,0 +1,11 @@
|
||||
server {
|
||||
listen 80 default_server;
|
||||
listen [::]:80 default_server;
|
||||
|
||||
# Disable access logs
|
||||
access_log off;
|
||||
log_not_found off;
|
||||
error_log /dev/stderr error;
|
||||
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
Loading…
Reference in New Issue
Block a user