Skip to content
This repository has been archived by the owner on Oct 8, 2022. It is now read-only.

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
zzeppozz committed May 28, 2021
1 parent 7c6bce1 commit 02381df
Showing 1 changed file with 3 additions and 23 deletions.
26 changes: 3 additions & 23 deletions lmtrex/config/broker.conf.in
Original file line number Diff line number Diff line change
@@ -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
<IfModule prefork.c>
StartServers 3
MinSpareServers 1
MaxSpareServers 3
ServerLimit 15
MaxClients 10
MaxRequestsPerChild 50
</IfModule>

# For t-rex roll
<VirtualHost *:80>
ServerName @FQDN@
# Redirect HTTP traffic to HTTPS
Expand All @@ -26,25 +12,19 @@
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}

<Directory /var/www/lmtrex>
WSGIProcessGroup lmtrex
WSGIApplicationGroup %{GLOBAL}
Order deny,allow
Allow from all
</Directory>

# Favicon.ico and robots.txt

</VirtualHost>

0 comments on commit 02381df

Please sign in to comment.