If you're using the friendly_id gem in your rails project you've recognized the hyphen in the slug.
E.g. you registered a new user:
the slug will be foo-bar by default.
That is not comfortable for some reasons, an underscore will be the better solution.
Type in your model:
class User < ActiveRecord::Base
friendly_id :name, use: :slugged, :sequence_seperator => '_'
nginx ssl PEM_read_bio_X509_AUX
While installing an intermediate certificate on a nginx-web-server we ran into following error:
PEM_read_bio_X509_AUX ("<path to your
intermediate-crt-file>") failed (SSL: error:0906D066:PEM
routines:PEM_read_bio:bad end line)
This is because the bundled and concatenated intermediate_certificate_file joined two lines together:
-----END CERTIFICATE----------BEGIN CERTIFICATE-----
We edited the file and added a line break:
And after this everythings works fine!!