remove letsencrypt including migration

This commit is contained in:
2022-11-21 12:47:07 +02:00
parent 775f9b9910
commit 91e46684f1
7 changed files with 4 additions and 76 deletions

View File

@ -11,15 +11,15 @@ default: &default
development:
<<: *default
database: gateway_test
database: hubfeenix_test
# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.
test:
<<: *default
database: gateway_dev
database: hubfeenix_dev
production:
<<: *default
database: gateway_production
database: hubfeenix

View File

@ -1,15 +0,0 @@
LetsEncrypt.config do |config|
# Using Let's Encrypt staging server or not
# Default only `Rails.env.production? == true` will use Let's Encrypt production server.
config.use_staging = false
# Set the private key path
# Default is locate at config/letsencrypt.key
config.private_key_path = Rails.root.join('config', 'letsencrypt.key')
# Use environment variable to set private key
# If enable, the API Client will use `LETSENCRYPT_PRIVATE_KEY` as private key
# Default is false
config.use_env_key = false
end

View File

@ -2,5 +2,4 @@ Rails.application.routes.draw do
# Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html
# root to: 'high_voltage/pages#show', id: 'index'
mount LetsEncrypt::Engine => '/.well-known'
end