|
|
|
@ -1,8 +1,13 @@
|
|
|
|
|
#Example configuration for when Apache httpd and Pleroma are on the same host.
|
|
|
|
|
#Needed modules: define headers proxy proxy_http proxy_wstunnel rewrite ssl
|
|
|
|
|
#This assumes a Debian style Apache config. Put this in /etc/apache2/sites-available
|
|
|
|
|
#Install your TLS certificate, possibly using Let's Encrypt.
|
|
|
|
|
#Replace 'pleroma.example.tld' with your instance's domain wherever it appears
|
|
|
|
|
# default Apache site config for Pleroma
|
|
|
|
|
#
|
|
|
|
|
# needed modules: define headers proxy proxy_http proxy_wstunnel rewrite ssl
|
|
|
|
|
#
|
|
|
|
|
# Simple installation instructions:
|
|
|
|
|
# 1. Install your TLS certificate, possibly using Let's Encrypt.
|
|
|
|
|
# 2. Replace 'pleroma.example.tld' with your instance's domain wherever it appears.
|
|
|
|
|
# 3. This assumes a Debian style Apache config. Copy this file to
|
|
|
|
|
# /etc/apache2/sites-available/ and then add a symlink to it in
|
|
|
|
|
# /etc/apache2/sites-enabled/ by running 'a2ensite pleroma-apache.conf', then restart Apache.
|
|
|
|
|
|
|
|
|
|
Define servername pleroma.example.tld
|
|
|
|
|
|
|
|
|
|