From 42307ecd3f236912d433be34045d49fcebab2f2c Mon Sep 17 00:00:00 2001 From: Jorik Schellekens Date: Mon, 5 Aug 2019 15:34:39 +0100 Subject: [PATCH] Fix text for tlx and remove dud component. --- .../view/webui/js/components/ACME.jsx | 0 .../view/webui/js/components/ReverseProxy.jsx | 28 +------------- .../view/webui/js/components/TLS.jsx | 38 +++++++++++++++++-- synapse_topology/view/webui/less/main.less | 2 + 4 files changed, 37 insertions(+), 31 deletions(-) delete mode 100644 synapse_topology/view/webui/js/components/ACME.jsx diff --git a/synapse_topology/view/webui/js/components/ACME.jsx b/synapse_topology/view/webui/js/components/ACME.jsx deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/synapse_topology/view/webui/js/components/ReverseProxy.jsx b/synapse_topology/view/webui/js/components/ReverseProxy.jsx index e408c86571..9052923545 100644 --- a/synapse_topology/view/webui/js/components/ReverseProxy.jsx +++ b/synapse_topology/view/webui/js/components/ReverseProxy.jsx @@ -6,11 +6,6 @@ import { REVERSE_PROXY_TYPES } from '../actions/constants' -const apacheLink = "http://httpd.apache.org/"; -const caddyLink = "https://caddyserver.com/"; -const haproxyLink = "http://www.haproxy.org/"; -const nginxLink = "https://www.nginx.com/"; -const proxyInfoLink = "https://github.com/matrix-org/synapse/blob/master/docs/reverse_proxy.rst"; export default ({ onClick }) => { const [reverseProxy, setReverseProxy] = useState(REVERSE_PROXY_TYPES.NONE); @@ -21,28 +16,7 @@ export default ({ onClick }) => { return

Reverse Proxy

-

- It is recommended to use Synapse behind a reverse proxy such as Apache, Caddy, HAProxy, or NGiNX. -

-

- The main benefit to this is that the reverse proxy can listen on the privilaged port - 443 (which clients like riot expect to connect to) on behalf of synapse. The incoming traffic - is then forwarded to Synapse on a non privilaged port. -
- You need root to listen on ports 0 to 1024 inclusive and - running synapse with root privileges is strongly discouraged. - Reverse proxies are more secure, run with root and pass things on like nobody's business. -
- (Note: you can also have synapse use a non privilaged port - by using one of the delegation methods mentioned earlier.) -

-

- If you chose to use a Reverse Proxy (good for you) we'll provide you with - configuration templates later. Easy breasy. -

-

- More information in the docs. -

+