mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 12:07:34 +08:00
25 lines
759 B
Plaintext
25 lines
759 B
Plaintext
ServerName java-deptools.fedorainfracloud.org
|
|
|
|
<Proxy *>
|
|
AddDefaultCharset off
|
|
Order deny,allow
|
|
Allow from all
|
|
</Proxy>
|
|
|
|
<VirtualHost *:443>
|
|
SSLEngine on
|
|
SSLCertificateFile /etc/letsencrypt/live/java-deptools.fedorainfracloud.org/cert.pem
|
|
SSLCertificateKeyFile /etc/letsencrypt/live/java-deptools.fedorainfracloud.org/privkey.pem
|
|
SSLCertificateChainFile /etc/letsencrypt/live/java-deptools.fedorainfracloud.org/fullchain.pem
|
|
SSLHonorCipherOrder On
|
|
SSLCipherSuite {{ ssl_ciphers }}
|
|
SSLProtocol {{ ssl_protocols }}
|
|
|
|
ProxyPass / http://localhost:9000/
|
|
ProxyPassReverse / http://localhost:9000/
|
|
</VirtualHost>
|
|
|
|
RewriteEngine On
|
|
RewriteCond %{HTTPS} off
|
|
RewriteRule (.*) https://%{SERVER_NAME}/$1 [R,L]
|