backend for xcvr appview
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

add https nginx config

+18 -2
+18 -2
nginx/xcvr.conf
··· 1 1 server { 2 - listen 80; 2 + listen 443; 3 3 server_name xcvr.chat; 4 4 5 + ssl_certificate /etc/letsencrypt/live/xcvr.chat/fullchain.pem; 6 + ssl_certificate_key /etc/letsencrypt/live/xcvr.chat/privkey.pem; 7 + 8 + ssl_protocols TLSv1.2 TLSv1.3; 9 + ssl_prefer_server_ciphers on; 10 + ssl_ciphers HIGH:!aNULL:!MD5; 11 + 5 12 root /var/www/xcvr; 6 13 index index.html; 7 14 8 15 location /xrpc/ { 9 - proxy_pass http://localhost:8080; 16 + proxy_pass http://127.0.0.1:8080; 10 17 proxy_set_header Host $host; 11 18 proxy_set_header X-Real-IP $remote_addr; 12 19 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; ··· 24 31 25 32 location / { 26 33 try_files $uri /index.html; 34 + } 35 + } 36 + 37 + server { 38 + listen 80; 39 + server_name xcvr.chat; 40 + 41 + location / { 42 + return 301 https://$host$request_uri; 27 43 } 28 44 }