Une page Web pour aider à rejoindre le réseau XMPP
Go to file
2021-07-23 11:11:17 +02:00
assets Add download button for Beagle IM 2021-07-23 10:10:27 +02:00
index.html.tpl Show/hide app buttons depending on screen width 2021-07-23 11:11:17 +02:00
invitation.cgi Allow specifying a full JID 2021-07-23 10:10:27 +02:00
README.md Add README with a quick deploy guide 2021-07-23 10:26:01 +02:00
screenshot_invitation_page.png Add README with a quick deploy guide 2021-07-23 10:26:01 +02:00

XMPP invitation page

Build a Web page to help people joining US on XMPP.

Example of XMPP invitation page

Quick deploy guide

Install fcgiwrap.

mkdir -p /var/www/xmpp-invitation
cd /var/www/xmpp-invitation
git clone https://forge.chapril.org/pitchum/xmpp-invitation-page.git .

Nginx snippet:

  location /invitation-beta/assets/ {
    alias  /var/www/xmpp-invitation/assets/;
  }
  location /invitation-beta/ {
    root  /var/www/xmpp-invitation/;
    index invitation.cgi;

    fastcgi_pass  unix:/run/fcgiwrap.socket;
    include /etc/nginx/fastcgi_params;
    fastcgi_param SCRIPT_FILENAME  /var/www/xmpp-invitation/invitation.cgi;
  }