This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
upstream {{ proxy_server }} { | |
server {{ proxy_server_url }} fail_timeout=0; | |
} | |
server { | |
listen 443 ssl http2 reuseport; | |
listen [::]:443 ssl http2 reuseport; | |
server_name {{ server_name }}; | |
server_tokens off; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
files = Dir['**/*.blk'] | |
files += Dir['**/*.mtf'] | |
files.each do |file| | |
puts "Checking file: #{file}" | |
raw = File.read(file) | |
# New Line Conversion from CRLF -> LF | |
data = raw.encode(raw.encoding, universal_newline: true) |