From 8efca19a3d1501861e84ccad44a23efa50dc808f Mon Sep 17 00:00:00 2001 From: CJ Grady Date: Fri, 28 May 2021 12:31:53 -0500 Subject: [PATCH] http to https forwarding for /api/ --- apache/syftorium.conf.in | 25 +++++++++---------------- 1 file changed, 9 insertions(+), 16 deletions(-) diff --git a/apache/syftorium.conf.in b/apache/syftorium.conf.in index 7d15a2ab..f9a8facc 100644 --- a/apache/syftorium.conf.in +++ b/apache/syftorium.conf.in @@ -1,23 +1,16 @@ ServerName @FQDN@ - # ServerName notyeti-195.lifemapper.org # Redirect HTTP traffic to HTTPS - # Redirect permanent / https://@FQDN@/ - # Redirect permanent / https://notyeti-195.lifemapper.org/ -# + Redirect permanent /api/ https://@FQDN@/api/ + -# - # ServerName @FQDN@ - # ServerName notyeti-195.lifemapper.org - # SSLEngine on - # SSLCertificateFile @CERTFILE@ - # SSLCertificateFile /etc/letsencrypt/live/notyeti-195.lifemapper.org/fullchain.pem - # SSLCertificateKeyFile @CERTKEYFILE@ - # SSLCertificateKeyFile /etc/letsencrypt/live/notyeti-195.lifemapper.org/privkey.pem - # Include /etc/letsencrypt/options-ssl-apache.conf - # Include @SSL_OPTIONS_FILE@ - # SSLCertificateChainFile /etc/letsencrypt/live/notyeti-195.lifemapper.org/chain.pem - # SSLCertificateChainFile @CHAIN_FILE@ + + ServerName @FQDN@ + SSLEngine on + SSLCertificateFile @CERTFILE@ + SSLCertificateKeyFile @CERTKEYFILE@ + Include @SSL_OPTIONS_FILE@ + SSLCertificateChainFile @CHAIN_FILE@ WSGIDaemonProcess syftorium threads=5 WSGIScriptAlias /api/v1 /var/www/lmsyft/syftorium.wsgi