about summary refs log tree commit diff stats
path: root/tools/scripts/setup-nginx.sh
diff options
context:
space:
mode:
authorpunk <punk@libernaut>2021-04-21 15:26:19 +0100
committerpunk <punk@libernaut>2021-04-21 15:26:19 +0100
commiteac48b5a8d709135a95abcc2243b369095f074f4 (patch)
treea2e34d995cef5ac8068ec7047e93b1125c80d175 /tools/scripts/setup-nginx.sh
parent3bd43803fc8cb7a39a87394cb7c491ddc151e06b (diff)
parent452477a2635d85ecf772a5242ce97d9479503bb3 (diff)
downloaddoc-eac48b5a8d709135a95abcc2243b369095f074f4.tar.gz
release 0.7.0
Diffstat (limited to 'tools/scripts/setup-nginx.sh')
-rw-r--r--tools/scripts/setup-nginx.sh24
1 files changed, 0 insertions, 24 deletions
diff --git a/tools/scripts/setup-nginx.sh b/tools/scripts/setup-nginx.sh
deleted file mode 100644
index 11065d2..0000000
--- a/tools/scripts/setup-nginx.sh
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/sh
-
-#. `dirname $0`/config-install.sh
-#
-#prt-get depinst nginx
-#
-#cp -R $CONF_DIR/etc/nginx/* /etc/nginx/
-#
-#mkdir /srv/www
-#chown www:www /srv/www
-#
-#usermod -a -g www nginx
-#usermod -m -d /srv/www nginx
-
-openssl genrsa -des3 -out /etc/ssl/keys/nginx.key 2048
-openssl req -new -key /etc/ssl/keys/nginx.key -out /etc/ssl/certs/nginx.csr
-openssl x509 -req -days 365 \
-            -in /etc/ssl/certs/nginx.csr \
-            -signkey /etc/ssl/keys/nginx.key \
-            -out /etc/ssl/certs/nginx.crt
-
-cp /etc/ssl/keys/nginx.key /etc/ssl/keys/nginx.key.pass
-openssl rsa -in /etc/ssl/keys/nginx.key.pass -out /etc/ssl/keys/nginx.key
-