Commit 63cbac9fee7c453d35a1f2d32846844a7e92e292
1 parent
c81bacdd
I prefer to simply configure nginx to serve .well-known as static content.
Showing
7 changed files
with
0 additions
and
31 deletions
app/assets/javascripts/pages.coffee
deleted
100644 → 0
app/assets/stylesheets/pages.scss
deleted
100644 → 0
app/controllers/pages_controller.rb
deleted
100644 → 0
app/helpers/pages_helper.rb
deleted
100644 → 0
app/views/pages/letsencrypt.html.erb
deleted
100644 → 0
1 | Rails.application.routes.draw do | 1 | Rails.application.routes.draw do |
2 | - get 'pages/letsencrypt' | ||
3 | - | ||
4 | get 'welcome/index' | 2 | get 'welcome/index' |
5 | 3 | ||
6 | # The priority is based upon order of creation: first created -> highest priority. | 4 | # The priority is based upon order of creation: first created -> highest priority. |
@@ -9,10 +7,6 @@ Rails.application.routes.draw do | @@ -9,10 +7,6 @@ Rails.application.routes.draw do | ||
9 | # You can have the root of your site routed with "root" | 7 | # You can have the root of your site routed with "root" |
10 | root 'welcome#index' | 8 | root 'welcome#index' |
11 | 9 | ||
12 | - # Static pages controller | ||
13 | - # controller for letsencrypt | ||
14 | - get '/.well-known/acme-challenge/:id' => 'pages#letsencrypt' | ||
15 | - | ||
16 | # Example of regular route: | 10 | # Example of regular route: |
17 | # get 'products/:id' => 'catalog#view' | 11 | # get 'products/:id' => 'catalog#view' |
18 | 12 |
Please
register
or
login
to post a comment