Fixed port placement of multiple instances.
--- 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
--- 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,