mirror of https://github.com/MISP/misp-docker
Seperate misp configs per port
parent
89caffc58e
commit
690094e6ed
|
@ -121,6 +121,7 @@ ARG PHP_VER
|
||||||
# nginx
|
# nginx
|
||||||
RUN rm /etc/nginx/sites-enabled/*; mkdir /run/php
|
RUN rm /etc/nginx/sites-enabled/*; mkdir /run/php
|
||||||
COPY files/etc/nginx/misp /etc/nginx/sites-enabled/misp
|
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
|
# 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
|
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 {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
listen [::]:443 ssl http2;
|
listen [::]:443 ssl http2;
|
||||||
|
|
|
@ -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