Commit 9f8a6e5

mo khan <mo@mokhan.ca>
2021-07-11 03:35:52
chore: remove ssl stuff for puma
1 parent 1f8d32f
Changed files (2)
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
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.