For switching the production server to live mode, the following steps have to be done:
- Change Paypal and Micropayment configuration in app/config/config.prod.json. Change the return URLs from spenden-2.wikimedia.de to spenden.wikimedia.de
- Change the NGINX configuration in /etc/nginx/sites-available/spenden.wikimedia.de:
- Set domain from spenden-2.wikimedia.de to spenden.wikimedia.de
- Change the SSL certs, comment out the wildcard cert and insert the real cert (I've copied the cert files from the old server)
- Restart nginx
- Change the DNS entry for spenden.wikimedia.de to point to the new server IP.