From 02381df9217b095eb0d4d792ee5e276390ca3619 Mon Sep 17 00:00:00 2001 From: zzeppozz Date: Fri, 28 May 2021 17:21:06 -0500 Subject: [PATCH] simplify --- lmtrex/config/broker.conf.in | 26 +++----------------------- 1 file changed, 3 insertions(+), 23 deletions(-) diff --git a/lmtrex/config/broker.conf.in b/lmtrex/config/broker.conf.in index 0f8cc55..f67bab4 100644 --- a/lmtrex/config/broker.conf.in +++ b/lmtrex/config/broker.conf.in @@ -1,17 +1,3 @@ -# Apache config, fill vars, rename, and place in /etc/httpd/conf.d/ -# Link primary API dir under /var/html - -# prefork MPM - - StartServers 3 - MinSpareServers 1 - MaxSpareServers 3 - ServerLimit 15 - MaxClients 10 - MaxRequestsPerChild 50 - - -# For t-rex roll ServerName @FQDN@ # Redirect HTTP traffic to HTTPS @@ -26,18 +12,14 @@ Include @SSL_OPTIONS_FILE@ SSLCertificateChainFile @CHAIN_FILE@ + WSGIDaemonProcess lmtrex threads=5 + WSGIScriptAlias /api/v1 /var/www/lmtrex/broker.wsgi + # Custom logs LogLevel debug CustomLog @LMSCRATCHDISK@/log/apache/lmrex_access combined ErrorLog @LMSCRATCHDISK@/log/apache/lmrex_error - # Root for lifemapper content - RewriteEngine on - - # Broker WSGI - WSGIDaemonProcess lmtrex threads=5 - WSGIScriptAlias /api/v1 /var/www/lmtrex/broker.wsgi process-group=lmtrex application-group=${GLOBAL} - WSGIProcessGroup lmtrex WSGIApplicationGroup %{GLOBAL} @@ -45,6 +27,4 @@ Allow from all -# Favicon.ico and robots.txt -