summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2021-07-10 21:35:52 -0600
committermo khan <mo@mokhan.ca>2021-07-10 21:35:52 -0600
commit9f8a6e5b188acbe04d0421867994b76c2945d2ec (patch)
treea2b2d5eb7e031ca1bd614c84c2073addb66aebc2
parent1f8d32f575a40177ddbd5950f83c13b204551233 (diff)
chore: remove ssl stuff for puma
-rwxr-xr-xbin/setup9
-rw-r--r--config/puma.rb4
2 files changed, 0 insertions, 13 deletions
diff --git a/bin/setup b/bin/setup
index eef1dbe..7dba7f3 100755
--- a/bin/setup
+++ b/bin/setup
@@ -11,12 +11,3 @@ bin/yarn
bin/rails db:prepare
bin/rails log:clear tmp:clear
bin/rails restart
-
-if [ ! -f config/key.pem ] && [ ! -f config/certificiate.pem ]; then
- openssl req -x509 -newkey rsa:4096\
- -days 999 \
- -nodes \
- -subj "/C=/ST=/L=/O=/OU=/CN=*.test" \
- -keyout config/key.pem \
- -out config/certificate.pem
-fi
diff --git a/config/puma.rb b/config/puma.rb
index cae9bc8..80042d3 100644
--- a/config/puma.rb
+++ b/config/puma.rb
@@ -13,10 +13,6 @@ threads min_threads_count, max_threads_count
#
if ENV.fetch("RAILS_ENV", "development") == "development"
worker_timeout 3600
- #ssl_bind('127.0.0.1', ENV.fetch("SSL_PORT") { 3443 }, {
- #cert: './config/certificate.pem',
- #key: './config/key.pem',
- #})
end
# Specifies the `port` that Puma will listen on to receive requests; default is 3000.