Simplify local Docker image build
This commit is contained in:
@@ -23,7 +23,7 @@ http {
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
listen 443 ssl;
|
||||
listen 443 ssl http2;
|
||||
ssl_certificate /etc/nginx/ssl/kanboard.crt;
|
||||
ssl_certificate_key /etc/nginx/ssl/kanboard.key;
|
||||
server_name localhost;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
#generate a new self signed SSL certificate when none is provided in the volume
|
||||
# Generate a new self signed SSL certificate when none is provided in the volume
|
||||
if [ ! -f /etc/nginx/ssl/kanboard.key ] || [ ! -f /etc/nginx/ssl/kanboard.crt ]
|
||||
then
|
||||
openssl req -x509 -nodes -newkey rsa:2048 -keyout /etc/nginx/ssl/kanboard.key -out /etc/nginx/ssl/kanboard.crt -subj "/C=GB/ST=London/L=London/O=Self Signed/OU=IT Department/CN=kanboard.org"
|
||||
|
||||
Reference in New Issue
Block a user