Compare commits

...

2 Commits

  1. 9
      CHANGELOG.md
  2. 25
      config/releases.exs
  3. 2
      mix.exs

9
CHANGELOG.md

@ -5,6 +5,15 @@ See [Conventional Commits](Https://conventionalcommits.org) for commit guideline
<!-- changelog -->
## [v0.34.6](https://git.inhji.de/inhji/mirage/compare/v0.34.5...v0.34.6) (2021-02-14)
### Bug Fixes:
* go back to http
## [v0.34.5](https://git.inhji.de/inhji/mirage/compare/v0.34.4...v0.34.5) (2021-02-14)

25
config/releases.exs

@ -25,35 +25,16 @@ public_url =
For example: mirage.gigalixirapp.com
"""
key_path =
System.get_env("MIRAGE_KEY_PATH") ||
raise """
environment variable MIRAGE_KEY_PATH is missing.
For example: /opt/mirage/mirage.key
"""
cert_path =
System.get_env("MIRAGE_CERT_PATH") ||
raise """
environment variable MIRAGE_CERT_PATH is missing.
For example: /opt/mirage/mirage.cert
"""
config :mirage, Mirage.Repo,
url: database_url,
pool_size: String.to_integer(System.get_env("POOL_SIZE") || "10")
config :mirage, MirageWeb.Endpoint,
http: [port: {:system, "PORT"}],
url: [host: public_url],
https: [
port: 443,
cipher_suite: :strong,
keyfile: "/etc/letsencrypt/live/beta.inhji.de/privkey.pem",
certfile: "/etc/letsencrypt/live/beta.inhji.de/fullchain.pem",
otp_app: :mirage,
http: [
port: String.to_integer(System.get_env("PORT") || "4000"),
transport_options: [socket_opts: [:inet6]]
],
url: [host: public_url, port: 443],
secret_key_base: secret_key_base,
cache_static_manifest: "priv/static/cache_manifest.json",
pool_size: 2,

2
mix.exs

@ -1,7 +1,7 @@
defmodule Mirage.MixProject do
use Mix.Project
@version "0.34.5"
@version "0.34.6"
def project do
[

Loading…
Cancel
Save