You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.2 KiB
46 lines
1.2 KiB
ServerName localhost
|
|
<IfModule ssl_module>
|
|
SSLRandomSeed startup builtin
|
|
SSLRandomSeed connect builtin
|
|
</IfModule>
|
|
<VirtualHost *:443>
|
|
|
|
ServerName apiexec1.swarm
|
|
ServerAlias apiexec2.swarm
|
|
ServerAlias apiexec3.swarm
|
|
|
|
DocumentRoot /var/www/api/public
|
|
ErrorLog ${APACHE_LOG_DIR}/error.log
|
|
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
|
|
|
SSLEngine on
|
|
SSLCertificateFile /usr/local/apache2/conf/domain.crt
|
|
SSLCertificateKeyFile /usr/local/apache2/conf/domain.key
|
|
|
|
SSLCompression off
|
|
#SSLProtocol all -SSLv2 -SSLv3 -TLSv1
|
|
SSLProtocol ALL -SSLv2 -SSLv3
|
|
#SSLCipherSuite EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH
|
|
SSLCipherSuite ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:RSA+AESGCM:RSA+AES:!aNULL:!MD5:!DSS
|
|
SSLHonorCipherOrder on
|
|
|
|
<FilesMatch "\.(cgi|shtml|phtml|php)$">
|
|
SSLOptions +StdEnvVars
|
|
</FilesMatch>
|
|
<Directory /usr/lib/cgi-bin>
|
|
SSLOptions +StdEnvVars
|
|
</Directory>
|
|
|
|
<Directory /var/www/api/public>
|
|
AllowOverride All
|
|
# changed from None to FileInfo
|
|
Order allow,deny
|
|
allow from all
|
|
</Directory>
|
|
|
|
</VirtualHost>
|
|
|
|
|
|
|
|
|
|
|
|
|