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