Seperate misp configs per port

pull/1/head
Jason Kendall 2020-02-25 09:24:17 -05:00
parent 89caffc58e
commit 690094e6ed
3 changed files with 12 additions and 12 deletions

View File

@ -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

View File

@ -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;

View 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;
}