Gitea/apache.conf

11 lines
343 B
ApacheConf

<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>