703 B
703 B
XMPP invitation page
Build a Web page to help people joining US on XMPP.
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;
}