From 81244409e61cb004f6451c5bece75633088e1880 Mon Sep 17 00:00:00 2001 From: Jason Stephenson Date: Fri, 28 Jun 2019 08:58:40 -0400 Subject: [PATCH 1/1] LP1834208 Remove example Apache Websockets configuration The examples/apache_24/websockets files were left behind by the previous commit. This commit deletes them. Signed-off-by: Jason Stephenson Signed-off-by: Jason Boyer Signed-off-by: Ben Shum --- examples/apache_24/websockets/apache2.conf | 64 ---------------------- 1 file changed, 64 deletions(-) delete mode 100644 examples/apache_24/websockets/apache2.conf diff --git a/examples/apache_24/websockets/apache2.conf b/examples/apache_24/websockets/apache2.conf deleted file mode 100644 index 0ad11a7..0000000 --- a/examples/apache_24/websockets/apache2.conf +++ /dev/null @@ -1,64 +0,0 @@ -# This is the main Apache 2.4 server configuration file for the OpenSRF -# WebSockets gateway. - -Include mods-available/mpm_prefork.load -Include mods-available/mpm_prefork.conf -Include mods-available/access_compat.load -Include mods-available/authz_core.load - -# if we don't want to run as "opensrf", change the LockFile -#LockFile ${APACHE_LOCK_DIR}/accept.lock -Mutex file:${APACHE_LOCK_DIR} default -PidFile ${APACHE_PID_FILE} -User ${APACHE_RUN_USER} -Group ${APACHE_RUN_GROUP} - -DefaultType None -HostnameLookups Off -ErrorLog ${APACHE_LOG_DIR}/error.log -LogLevel warn - -# only affects the initial connection, which should be quick. -Timeout 30 - -# WebSockets is KeepAlive on steroids -KeepAlive Off - - - StartServers 5 - MinSpareServers 5 - MaxSpareServers 20 - # use ServerLimit to raise beyond 256 - MaxClients 256 - MaxRequestsPerChild 0 - - -# include the exact mods we need -Include mods-available/mime.load -Include mods-available/mime.conf -# SSL requires mime -Include mods-available/ssl.load -Include mods-available/ssl.conf -Include mods-available/socache_shmcb.load - -LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined -LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined -LogFormat "%h %l %u %t \"%r\" %>s %O" common -LogFormat "%{Referer}i -> %U" referer -LogFormat "%{User-agent}i" agent - -Listen 7682 - - DocumentRoot /var/www - ServerName localhost:7682 - ServerAlias 127.0.0.1:7682 - SSLEngine on - SSLHonorCipherOrder On - SSLCipherSuite ECDHE-RSA-AES256-SHA384:AES256-SHA256:RC4:HIGH:!MD5:!aNULL:!EDH:!AESGCM - - # re-use the certs from the main apache instance - SSLCertificateFile /etc/apache2/ssl/server.crt - SSLCertificateKeyFile /etc/apache2/ssl/server.key - - - -- 2.43.2