Added installation instructions and example files

This commit is contained in:
2023-04-02 15:26:19 +02:00
parent 354fb5f9e5
commit 2d5df49aa9
8 changed files with 320 additions and 21 deletions

24
apache2.conf.EXAMPLE Normal file

@ -0,0 +1,24 @@
<VirtualHost *:80>
ServerName moshingmammut.phlaym.net
ProxyPreserveHost On
ProxyPass / http://localhost:3000/
ProxyPassReverse / http://localhost:3000/
ErrorLog /var/log/apache2/error.log
CustomLog /var/log/apache2/access.log combined
</VirtualHost>
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerName moshingmammut.phlaym.net
Include /etc/letsencrypt/options-ssl-apache.conf
ProxyPass / http://localhost:3000/
ProxyPassReverse / http://localhost:3000/
SSLCertificateFile /path/to/your/fullchain.pem
SSLCertificateKeyFile /path/to/your/privkey.pem
</VirtualHost>
</IfModule>