diff options
| author | mo khan <mo@mokhan.ca> | 2021-07-10 21:35:52 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2021-07-10 21:35:52 -0600 |
| commit | 9f8a6e5b188acbe04d0421867994b76c2945d2ec (patch) | |
| tree | a2b2d5eb7e031ca1bd614c84c2073addb66aebc2 | |
| parent | 1f8d32f575a40177ddbd5950f83c13b204551233 (diff) | |
chore: remove ssl stuff for puma
| -rwxr-xr-x | bin/setup | 9 | ||||
| -rw-r--r-- | config/puma.rb | 4 |
2 files changed, 0 insertions, 13 deletions
@@ -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. |
