diff --git a/README.md b/README.md index ce46bda..e0319f8 100644 --- a/README.md +++ b/README.md @@ -103,7 +103,7 @@ In a terminal, navigate to the directory in which you'd like to install Zax and ```Shell # get the source -git clone git@github.com:vault12/zax.git +git clone https://github.com/vault12/zax.git # create the gemset cd zax @@ -114,9 +114,6 @@ rvm gemset use zax # run the installation script gem install bundler bundle install -mkdir -p shared/log -mkdir -p shared/pids -mkdir -p shared/sockets ``` If `bundle install` command fails with a message for libxml2 or Nokogiri, see the [Troubleshooting](#troubleshooting) section. diff --git a/config/environments/production.rb b/config/environments/production.rb index f9f4377..6a343d1 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -6,6 +6,10 @@ Rails.application.configure do # Settings specified here will take precedence over those in config/application.rb. + # Specify the host name for the production environment. + # See https://guides.rubyonrails.org/configuring.html#config-hosts for more information. + # config.hosts << "zax.example.com" + # --- Relay default configuration START --- config.x.relay.difficulty = 2 # 1...255 : require number of leading 0 bits in handshake @@ -55,9 +59,9 @@ # or in config/master.key. This key is used to decrypt credentials (and other encrypted files). # config.require_master_key = true - # Disable serving static files from the `/public` folder by default since - # Apache or NGINX already handles this. - config.public_file_server.enabled = ENV["RAILS_SERVE_STATIC_FILES"].present? + # To disable serving Zax Dashboard or other static files from the `/public` folder, + # or to handle this on Apache or NGINX level, uncomment the following line + # config.public_file_server.enabled = ENV["RAILS_SERVE_STATIC_FILES"].present? # Compress CSS using a preprocessor. # config.assets.css_compressor = :sass