mirror of https://github.com/zulip/zulip.git
Remove config for Apache as app frontend
(imported from commit ae4072bdf59cdfccec76eeee7fd3b99a899eaa19)
This commit is contained in:
parent
36f4ce0c0b
commit
cbdbc12ab0
|
@ -1,39 +0,0 @@
|
||||||
<VirtualHost *:80>
|
|
||||||
ServerName app.humbughq.com
|
|
||||||
Redirect permanent / https://app.humbughq.com/
|
|
||||||
</VirtualHost>
|
|
||||||
|
|
||||||
<VirtualHost *:443>
|
|
||||||
ServerName app.humbughq.com
|
|
||||||
|
|
||||||
SSLEngine on
|
|
||||||
SSLCertificateFile /etc/apache2/certs/humbug-self-signed.crt
|
|
||||||
SSLCertificateKeyFile /etc/apache2/certs/humbug-self-signed.key
|
|
||||||
|
|
||||||
Header add Strict-Transport-Security "max-age=15768000"
|
|
||||||
|
|
||||||
RewriteEngine On
|
|
||||||
ProxyPreserveHost On
|
|
||||||
ProxyRequests Off
|
|
||||||
|
|
||||||
<Proxy *>
|
|
||||||
Order deny,allow
|
|
||||||
Allow from all
|
|
||||||
|
|
||||||
AuthType Digest
|
|
||||||
AuthName "wiki"
|
|
||||||
AuthDigestProvider file
|
|
||||||
AuthUserFile /etc/apache2/users/wiki
|
|
||||||
Require valid-user
|
|
||||||
</Proxy>
|
|
||||||
|
|
||||||
ProxyPassReverse / http://127.0.0.1:9991
|
|
||||||
RewriteRule ^(.*) http://127.0.0.1:9991$1 [P]
|
|
||||||
ProxyTimeout 1200
|
|
||||||
|
|
||||||
ErrorLog /var/log/apache2/error.log
|
|
||||||
LogLevel warn
|
|
||||||
|
|
||||||
CustomLog /var/log/apache2/access.log combined
|
|
||||||
ServerSignature On
|
|
||||||
</VirtualHost>
|
|
Loading…
Reference in New Issue