# HG changeset patch # User Luke Hoersten # Date 1546493067 21600 # Node ID 6024861525dbef426a55941a07ed36dcf7ef246e # Parent bd34ae0826972cce9fce48227610cbf3dc75b3f4 Fixed port placement of multiple instances. diff -r bd34ae082697 -r 6024861525db main.yaml --- a/main.yaml Tue Jan 01 21:57:11 2019 -0600 +++ b/main.yaml Wed Jan 02 23:24:27 2019 -0600 @@ -16,17 +16,17 @@ become: yes timezone: name="UTC" -- hosts: pleroma-01 +- hosts: pleroma roles: - role: pleroma pleroma_host: "haskell.social" pleroma_user: "pleroma_haskell_social" - pleroma_port: 4000 + pleroma_port: 4001 - role: pleroma pleroma_host: "nth.io" pleroma_user: "pleroma_nth_io" - pleroma_port: 4001 + pleroma_port: 4000 # - hosts: haskell.social diff -r bd34ae082697 -r 6024861525db roles/pleroma/templates/prod.secret.exs.j2 --- a/roles/pleroma/templates/prod.secret.exs.j2 Tue Jan 01 21:57:11 2019 -0600 +++ b/roles/pleroma/templates/prod.secret.exs.j2 Wed Jan 02 23:24:27 2019 -0600 @@ -1,7 +1,8 @@ use Mix.Config config :pleroma, Pleroma.Web.Endpoint, - url: [host: "{{pleroma_host}}", scheme: "{{pleroma_scheme}}", port: {{pleroma_port}}], + url: [host: "{{pleroma_host}}", scheme: "{{pleroma_scheme}}", port: 443], + http: [port: {{pleroma_port}}], secret_key_base: "{{pleroma_secret_key}}" config :pleroma, :instance,