mirror of
https://github.com/jessebot/tiny_personal_website.git
synced 2025-10-01 01:48:43 +00:00
commit
f969a843ce
2 changed files with 34 additions and 1 deletions
|
@ -14,3 +14,36 @@
|
|||
# Require all granted
|
||||
</Directory>
|
||||
</VirtualHost>
|
||||
|
||||
# If you need want an SSL, which I recommend, then delete the above content
|
||||
# and use the below as your starting point. You can use
|
||||
# https://letsencrypt.org/howitworks/ to get a free SSL. Thanks, EFF <3
|
||||
<VirtualHost *:80>
|
||||
ServerName example.com
|
||||
# rewriting things to force https traffic
|
||||
RewriteEngine on
|
||||
RewriteCond %{HTTPS} off
|
||||
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
|
||||
</VirtualHost>
|
||||
<VirtualHost *:443>
|
||||
ServerName example.com
|
||||
ServerAdmin example_user@gmail.com
|
||||
# ssl stuff, you can change these paths to where ever you keep your own SSL files
|
||||
SSLEngine on
|
||||
SSLCertificateFile /etc/letsencrypt/live/example.com/cert.pem
|
||||
SSLCertificateKeyFile /etc/letsencrypt/live/example.com/privkey.pem
|
||||
SSLCertificateChainFile /etc/letsencrypt/live/example.com/chain.pem
|
||||
# wsgi stuff
|
||||
WSGIDaemonProcess example_process_name user=example_user group=example_group processes=1 threads=5
|
||||
WSGIScriptAlias / /path/to/web/root/adapter.wsgi
|
||||
|
||||
<Directory /path/to/web/root>
|
||||
WSGIProcessGroup example_group
|
||||
WSGIApplicationGroup %{GLOBAL}
|
||||
# comment out next two lines if getting "forbidden" errors
|
||||
Order deny,allow
|
||||
Allow from all
|
||||
# uncomment if getting "forbidden" errors
|
||||
# Require all granted
|
||||
</Directory>
|
||||
</VirtualHost>
|
||||
|
|
|
@ -63,7 +63,7 @@
|
|||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-sm-6 col-md-6 imageLower">
|
||||
<div class="col-xs-12 col-sm-6 col-md-6">
|
||||
<img src="/images/githubcat.png">
|
||||
</div>
|
||||
<div class="col-xs-12 col-sm-6 col-sm-5 col-md-6 buttonLower">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue