RailsでFUJISSLのファイル認証をする
NginxでなくRails側でファイル認証をする
routes.rb
get "/.well-known/pki-validation/fileauth.txt" => "top#ssl"
top_controller.rb
class TopController < ApplicationController def index hogehoge end def ssl render plain: "(ファイル認証の文字列)" end end