mirror of https://github.com/zulip/zulip.git
Switch nagios to .zulip.net and add cert
We maintain a legacy hhq.c cert to avoid breaking links. (imported from commit 4e8878185b02c0ed6c9193e21ff94ac96a2ef7b4)
This commit is contained in:
parent
4f6159049d
commit
1c48aa7b8c
|
@ -0,0 +1,37 @@
|
||||||
|
-----BEGIN CERTIFICATE-----
|
||||||
|
MIIGYDCCBUigAwIBAgIDC9JtMA0GCSqGSIb3DQEBBQUAMIGMMQswCQYDVQQGEwJJ
|
||||||
|
TDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMiU2VjdXJlIERpZ2l0
|
||||||
|
YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20gQ2xhc3Mg
|
||||||
|
MSBQcmltYXJ5IEludGVybWVkaWF0ZSBTZXJ2ZXIgQ0EwHhcNMTMwOTA0MDY1NTE0
|
||||||
|
WhcNMTQwOTA1MTY0NTQ3WjBuMRkwFwYDVQQNExA3NVVuWWtzNldocTlYMUJMMQsw
|
||||||
|
CQYDVQQGEwJVUzEcMBoGA1UEAxMTbmFnaW9zLmh1bWJ1Z2hxLmNvbTEmMCQGCSqG
|
||||||
|
SIb3DQEJARYXaG9zdG1hc3RlckBodW1idWdocS5jb20wggEiMA0GCSqGSIb3DQEB
|
||||||
|
AQUAA4IBDwAwggEKAoIBAQC3r6IfMWzcOZzQUlY3AU5P89WsWt0JLjCPFhxCLplV
|
||||||
|
fR9a0VZk2e7xiOuldoXSkwuzXPATQHPlmsbJdN9g86agj9VLhfiIr7rZV3Fx4IUJ
|
||||||
|
qaAE62eBrMdPYfP5EjB3zMSuJYFldqsLFfHvucBqGvM2b9F7iuDFHaeQk9xETeKx
|
||||||
|
5fADUdI7FqLyL3mWmfm8vS9mNLOdkxN93D6R6zvIwUUvDya9wYl5b1D3IAL1ADaM
|
||||||
|
sAGqbihWN5Prdv2d+v4S/OiA+x9fM26WRVr4oFfSNsVQzHOVEwuuazXx8IgN2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<VirtualHost *:80>
|
<VirtualHost *:80>
|
||||||
ServerName nagios.humbughq.com
|
ServerName nagios.humbughq.com
|
||||||
Redirect permanent / https://nagios.humbughq.com/
|
Redirect permanent / https://nagios.zulip.net/
|
||||||
|
</VirtualHost>
|
||||||
|
<VirtualHost *:80>
|
||||||
|
ServerName nagios.zulip.net
|
||||||
|
Redirect permanent / https://nagios.zulip.net/
|
||||||
|
</VirtualHost>
|
||||||
|
<VirtualHost *:443>
|
||||||
|
ServerName nagios.humbughq.com
|
||||||
|
Redirect permanent / https://nagios.zulip.net/
|
||||||
|
SSLEngine on
|
||||||
|
SSLCertificateFile /etc/ssl/certs/nagios.humbughq.com.crt
|
||||||
|
SSLCertificateKeyFile /etc/ssl/private/nagios.key
|
||||||
|
|
||||||
|
SSLCertificateChainFile /etc/ssl/certs/sub.class1.server.ca.pem
|
||||||
|
SSLCACertificateFile /etc/ssl/certs/ca.pem
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
||||||
<VirtualHost *:443>
|
<VirtualHost *:443>
|
||||||
ServerName nagios.humbughq.com
|
ServerName nagios.zulip.net
|
||||||
|
|
||||||
SSLEngine on
|
SSLEngine on
|
||||||
SSLCertificateFile /etc/apache2/certs/humbug-self-signed.crt
|
SSLCertificateFile /etc/ssl/certs/nagios.zulip.net.crt
|
||||||
SSLCertificateKeyFile /etc/apache2/certs/humbug-self-signed.key
|
SSLCertificateKeyFile /etc/ssl/private/nagios.key
|
||||||
|
|
||||||
|
SSLCertificateChainFile /etc/ssl/certs/sub.class1.server.ca.pem
|
||||||
|
SSLCACertificateFile /etc/ssl/certs/ca.pem
|
||||||
|
|
||||||
Header add Strict-Transport-Security "max-age=15768000"
|
Header add Strict-Transport-Security "max-age=15768000"
|
||||||
Header add X-Frame-Options DENY
|
Header add X-Frame-Options DENY
|
||||||
|
@ -22,7 +39,7 @@
|
||||||
# Where the HTML pages live
|
# Where the HTML pages live
|
||||||
Alias /nagios3 /usr/share/nagios3/htdocs
|
Alias /nagios3 /usr/share/nagios3/htdocs
|
||||||
|
|
||||||
RedirectMatch ^/?$ https://nagios.humbughq.com/cgi-bin/nagios3/status.cgi?host=all
|
RedirectMatch ^/?$ https://nagios.nagios.com/cgi-bin/nagios3/status.cgi?host=all
|
||||||
|
|
||||||
<Location "/">
|
<Location "/">
|
||||||
AuthType Digest
|
AuthType Digest
|
||||||
|
|
Loading…
Reference in New Issue