Add 'apache.conf'

This commit is contained in:
Sarimoko 2021-07-22 22:24:10 +00:00
parent e3ff2de2a2
commit 3f793598d2
1 changed files with 11 additions and 0 deletions

11
apache.conf Normal file
View File

@ -0,0 +1,11 @@
<VirtualHost *:443>
ServerName code.sarimoko.com
ProxyPreserveHost On
ProxyRequests off
AllowEncodedSlashes NoDecode
ProxyPass / http://localhost:3000/
ProxyPassReverse / http://localhost:3000/
SSLEngine on
SSLCertificateFile /srv/ssl/code/cert.pem
SSLCertificateKeyFile /srv/ssl/code/key.pem
</VirtualHost>