Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

don't duplicate Listen 443 statement #106

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tasks/dataverse-apache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
- ansible_distribution_major_version == "8"

- name: allow apache to read user content by default
shell: 'setsebool -P httpd_read_user_content 1'
shell: '/usr/sbin/setsebool -P httpd_read_user_content 1'
when:
- ansible_os_family == "RedHat"
- ansible_distribution_major_version == "8"
Expand Down
8 changes: 3 additions & 5 deletions templates/http.proxy.conf.j2
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{% if apache.ssl.enabled %}
<IfModule ssl_module>
{% if ansible_os_family == "RedHat" %}
Listen 443 https
{% endif %}

{% if ansible_os_family == "RedHat" %}
SSLPassPhraseDialog exec:/usr/libexec/httpd-ssl-pass-dialog
Expand Down Expand Up @@ -37,8 +34,9 @@ Listen 443 https
LogLevel warn

SSLEngine on
SSLProtocol all -SSLv2
SSLCipherSuite HIGH:MEDIUM:!aNULL:!MD5
SSLProtocol -all +TLSv1.3
SSLHonorCipherOrder on
SSLCipherSuite kEECDH:+kEECDH+SHA:kEDH:+kEDH+SHA:+kEDH+CAMELLIA:kECDH:+kECDH+SHA:kRSA:+kRSA+SHA:+kRSA+CAMELLIA:!aNULL:!eNULL:!SSLv2:!RC4:!DES:!EXP:!SEED:!IDEA:!3DES
{% if apache.ssl.remote_cert %}
SSLCertificateFile {{ apache.ssl.cert }}
SSLCertificateKeyFile {{ apache.ssl.key }}
Expand Down