]> Untitled Git - lemmy.git/commitdiff
Add line showing default ports for nginx. Fixes #1167
authorDessalines <tyhou13@gmx.com>
Sat, 3 Oct 2020 14:53:48 +0000 (09:53 -0500)
committerDessalines <tyhou13@gmx.com>
Sat, 3 Oct 2020 14:53:48 +0000 (09:53 -0500)
ansible/lemmy.yml
ansible/templates/nginx.conf

index b4187158fa4e84b1e169cd8ca4a967e8ccc16455..28179ba418034d8f6cc8e8ff3585dafe364081b5 100644 (file)
@@ -79,6 +79,7 @@
         lemmy_docker_image: "dessalines/lemmy:{{ lookup('file', 'VERSION') }}"
         lemmy_docker_ui_image: "dessalines/lemmy-ui:{{ lookup('file', 'VERSION') }}"
         lemmy_port: "8536"
+        lemmy_ui_port: "1235"
         pictshare_port: "8537"
         iframely_port: "8538"
 
index 7f13259ad3fcc3e5ee4892a641f4389121aa1ec9..03b139bb0563547e1adc0d7b6ab4165894ca842e 100644 (file)
@@ -57,6 +57,10 @@ server {
       proxy_set_header Host $host;
       proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
 
+      # The default ports:
+      # lemmy_ui_port: 1235
+      # lemmy_port: 8536
+
       set $proxpass "http://0.0.0.0:{{ lemmy_ui_port }}";
       if ($http_accept = "application/activity+json") {
         set $proxpass "http://0.0.0.0:{{ lemmy_port }}";