Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /var/logs/nginx/error.log:
- 2024/06/02 20:41:53 [crit] 20252#20252: *21 SSL_do_handshake() failed (SSL: error:0A00006C:SSL routines::bad key share) while SSL handshaking, client: 212.102.40.218, server: 0.0.0.0:443
- 2024/06/02 20:42:11 [error] 20254#20254: *22 connect() failed (111: Connection refused) while connecting to upstream, client: 2001:1970:5d2a:c500:b1e7:7516:8410:5f72, server: etherpad.thefurrycollective.ca, request: "GET / HTTP/1.1", upstream: "http://[::1]:9001/", host: "etherpad.thefurrycollective.ca"
- 2024/06/02 20:42:11 [error] 20254#20254: *22 connect() failed (111: Connection refused) while connecting to upstream, client: 2001:1970:5d2a:c500:b1e7:7516:8410:5f72, server: etherpad.thefurrycollective.ca, request: "GET /favicon.ico HTTP/1.1", upstream: "http://[::1]:9001/favicon.ico", host: "etherpad.thefurrycollective.ca", referrer: "https://etherpad.thefurrycollective.ca/"
- 2024/06/02 20:46:41 [error] 20251#20251: *25 connect() failed (111: Connection refused) while connecting to upstream, client: 2001:1970:5d2a:c500:b1e7:7516:8410:5f72, server: etherpad.thefurrycollective.ca, request: "GET / HTTP/1.1", upstream: "http://[::1]:9001/", host: "etherpad.thefurrycollective.ca"
- 2024/06/02 20:46:41 [error] 20251#20251: *25 connect() failed (111: Connection refused) while connecting to upstream, client: 2001:1970:5d2a:c500:b1e7:7516:8410:5f72, server: etherpad.thefurrycollective.ca, request: "GET / HTTP/1.1", upstream: "http://[::1]:9001/", host: "etherpad.thefurrycollective.ca"
- 2024/06/02 20:46:41 [error] 20251#20251: *25 connect() failed (111: Connection refused) while connecting to upstream, client: 2001:1970:5d2a:c500:b1e7:7516:8410:5f72, server: etherpad.thefurrycollective.ca, request: "GET /favicon.ico HTTP/1.1", upstream: "http://[::1]:9001/favicon.ico", host: "etherpad.thefurrycollective.ca", referrer: "https://etherpad.thefurrycollective.ca/"
- /opt/etherpad-lite/settings.json:
- server {
- listen 80;
- listen [::]:80;
- server_name etherpad.thefurrycollective.ca;
- return 301 https://$host$request_uri;
- }
- server {
- listen 443 ssl;
- listen [::]:443 ssl;
- server_name etherpad.thefurrycollective.ca;
- ssl_certificate /etc/letsencrypt/live/thefurrycollective.ca-0002/fullchain.pem;
- ssl_certificate_key /etc/letsencrypt/live/thefurrycollective.ca-0002/privkey.pem;
- include snippets.d/matrix-wellknown.conf;
- location / {
- # note: do not add a path (even a single /) after the port in `proxy_pass`,
- # otherwise nginx will canonicalise the URI and cause signature verification
- # errors.
- proxy_pass http://[::1]:9001;
- proxy_set_header X-Forwarded-For $remote_addr;
- proxy_set_header X-Forwarded-Proto $scheme;
- proxy_set_header Host $host;
- # Nginx by default only allows file uploads up to 1M in size
- # Increase client_max_body_size to match max_upload_size defined in homeserver.yaml
- client_max_body_size 5000M;
- # Synapse responses may be chunked, which is an HTTP/1.1 feature.
- proxy_http_version 1.1;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement