Add apache2 config file (#47)

This commit is contained in:
Patryk 2022-05-12 21:59:45 +02:00 committed by GitHub
parent 9095402108
commit 7a98ff9cc5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

14
fakelog.conf Normal file
View file

@ -0,0 +1,14 @@
<VirtualHost *:443>
ServerName example.com
ServerAlias "example.com"
UseCanonicalName on
ProxyPreserveHost on
ProxyPass / http://localhost:3000/
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
SSLEngine on #Optional for SSL
SSLCertificateFile /path/to/ssl/example.com.pem
SSLCertificateKeyFile /path/to/ssl/example.com.key
SSLProtocol +TLSv1.2 +TLSv1.3 #Optional can be removed
Protocols h2 h2c #Optional can be removed
</VirtualHost>