From 6b9b9efce136ccc3200d79b8d194ac749ca29084 Mon Sep 17 00:00:00 2001 From: Corder Guy Date: Thu, 3 May 2018 23:51:32 -0500 Subject: [PATCH] Add config file --- corder-tech.conf | 41 +++++++++++++++++++++++++++++++++++++++++ db.sqlite3 | Bin 8192 -> 8192 bytes 2 files changed, 41 insertions(+) create mode 100644 corder-tech.conf diff --git a/corder-tech.conf b/corder-tech.conf new file mode 100644 index 0000000..a81285b --- /dev/null +++ b/corder-tech.conf @@ -0,0 +1,41 @@ + + ServerName corder.tech + ServerAlias www.corder.tech + Redirect permanent / https://corder.tech/ +RewriteEngine on +RewriteCond %{SERVER_NAME} =www.corder.tech [OR] +RewriteCond %{SERVER_NAME} =corder.tech +RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent] + + + + + ServerName corder.tech + ServerAlias www.corder.tech + + Header always set Strict-Transport-Security "max-age=31536000; includeSubdomains; preload" + Header set Content-Security-Policy "default-src 'self'" + Header set X-Frame-Options "SAMEORIGIN" + Header set X-XSS-Protection "1; mode=block" + Header set X-Content-Type-Options "nosniff" + Header set Referrer-Policy "no-referrer" + + DocumentRoot /var/www/html + + SSLEngine on + + WSGIDaemonProcess corder.tech/mocha processes=2 threads=15 display-name=%{GROUP} python-home=/usr/local/www/mocha-server:/usr/local/www/mocha-server/venv/lib/python3.5/site-packages + WSGIProcessGroup corder.tech/mocha + + WSGIScriptAlias /mocha /usr/local/www/mocha-server/mocha_server.py + + + + Require all granted + + + + Include /etc/letsencrypt/options-ssl-apache.conf +SSLCertificateFile /etc/letsencrypt/live/corder.tech/fullchain.pem +SSLCertificateKeyFile /etc/letsencrypt/live/corder.tech/privkey.pem + diff --git a/db.sqlite3 b/db.sqlite3 index dea8f113c198d10e105d8ae27a42e7f9032f50df..455b0ce628182ebce967b99ec5641c3310579d50 100755 GIT binary patch delta 46 zcmZp0XmFSy&8Rw2#+hH0LHFYhUIqpRM*dg^{@9I$Z}>Jx@f&cnl%y7yZ0?gPVg&#v C*bO@X delta 46 zcmZp0XmFSy&8Rq0#+hG{K~G^OF9QPuBY!Ldf9%G>H+-9;_zk#Ol5$crHup&tu>t@H C&kP>`