From a5d7459610629a8da1f1f29fceb1b11236b8e46b Mon Sep 17 00:00:00 2001 From: Zack Date: Sat, 13 Feb 2016 07:37:48 -0500 Subject: [PATCH 01/12] Update README.md Former-commit-id: 5fdd117fce430dd46a663bdc55b96bb1162219de [formerly a2336abd97f0360e4f8998eb1d49497c16f8818c] [formerly f7f74658af1f2633c9b3a327e7a0b0d8a09090df [formerly 26d49a1db36b4c3caed268e458ed02bac9812d10 [formerly 056649954400250dce406406496c286bee9411ad]]] Former-commit-id: 89935a1ded89edc9c936f3bd4964e69cdffd278d [formerly cc1405456b1bc8a928bed09132bfb5a3ac12a04f] Former-commit-id: bb1845cf937391f2286232dc0e7a7a79f347f9f6 Former-commit-id: 7b6f12eba69306c719ea42394bf58522d79864b2 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 63430d2..bfeeafd 100644 --- a/README.md +++ b/README.md @@ -10,10 +10,10 @@ This is a self-contained wiki webserver that makes sharing easy and _fast_. You ## Simplicity The philosophy here is to *just type*. To jot a note, simply load the page at [`/`](http://AwwKoala.com/) and just start typing. No need to press edit, the browser will already be focused on the text. No need to press save - it will automatically save when you stop writing. The URL at [`/`](http://AwwKoala.com/) will redirect to an easy-to-remember name that you can use to reload the page at anytime, anywhere. But, you can also use any URL you want, e.g. [`/AnythingYouWant`](http://AwwKoala.com/AnythingYouWant). -## Views +## Viewing All pages can be rendered into HTML by adding `/view`. For example, the page [`/AnythingYouWant`](http://AwwKoala.com/AnythingYouWant) is rendered at [`/AnythingYouWant/view`](http://AwwKoala.com/AnythingYouWant/view). You can write in HTML or [Markdown](https://daringfireball.net/projects/markdown/) for page rendering. To quickly link to `/view` pages, just use `[[AnythingYouWnat]]`. Math is supported with [Katex](https://github.com/Khan/KaTeX) using `$\frac{1}{2}$` for inline equations and `$$\frac{1}{2}$$` for regular equations. -## Lists +## Listifying If you are writing a list and you want to tick off things really easily, just add `/list`. For example, after editing [`/grocery`](http://AwwKoala.com/grocery), goto [`/grocery/list`](http://AwwKoala.com/grocery/list). In this page, whatever you click on will be striked through and moved to the end. This is helpful if you write a grocery list and then want to easily delete things from it. ## Automatic versioning From 79e1eba8adf486fb609a9cec81e1a9410caa99f1 Mon Sep 17 00:00:00 2001 From: Zack Date: Sat, 13 Feb 2016 07:38:49 -0500 Subject: [PATCH 02/12] Update README.md Former-commit-id: 1262206a70f2a6adc984a2fe9487983b7554cade [formerly 5e99b250e311f5698c260dc37f277806ccb68730] [formerly 466eaebc1f9ad3cb0cc9130bf32629fec25ec35b [formerly 0a89ddecb8554d57e92c904c4561e448eca8fd51 [formerly cab296867274594ad92b62095c1b9a66e3509257]]] Former-commit-id: ed6987a7db374abd8dfcac1d504fb6d69311f107 [formerly 1b6f25af29bb3e85e09e58f060fed91964c46ffb] Former-commit-id: 428eda9370f98a09e7954dee42624fbdd1296286 Former-commit-id: 3dd8f1af5f41d74a13884cedd771b82e6adfdf9c --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bfeeafd..99832eb 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ ![Logo](https://i.imgur.com/ixnBYOl.png) -# AwwKoala +# AwwKoala - [Demo](http://awwkoala.com/) ## A Websocket Wiki and Kind Of A List Application [![Version 1.0](https://img.shields.io/badge/version-1.0-brightgreen.svg)]() [![Go Report Card](https://goreportcard.com/badge/github.com/schollz/AwwKoala)](https://goreportcard.com/report/github.com/schollz/AwwKoala) [![Join the chat at https://gitter.im/schollz/AwwKoala](https://badges.gitter.im/schollz/AwwKoala.svg)](https://gitter.im/schollz/AwwKoala?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) From b97c8bb9452b393c8afc007e0512e8a14bfedb74 Mon Sep 17 00:00:00 2001 From: Zack Date: Sat, 13 Feb 2016 20:22:37 -0500 Subject: [PATCH 03/12] Create README.md Former-commit-id: 6ea0d59fccb3fa341ffd0cd90c75672f7cf80ef9 [formerly d4ed70bde4f0ca9c490b0ffa7e5caa09f673f468] [formerly 8867ae8d724359b3f3beab2e6d3039de38de223f [formerly 3296bdb20ebe37fb0747d9b349bdaa95accd2258 [formerly 17c99343fcff78e577ffd287bb65007b82b636b9]]] Former-commit-id: 14bdf63360f7b0f5a958af1dd36fcba9171de4c8 [formerly 661dc438bb508e5367c5c7afd5aa21e42b314997] Former-commit-id: cb37176a827262c5e213d7795b4b9db6c74dc889 Former-commit-id: c137f600225f117c8d2ea3e7c8424d0a2897e511 --- letsencrypt/README.md | 62 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 letsencrypt/README.md diff --git a/letsencrypt/README.md b/letsencrypt/README.md new file mode 100644 index 0000000..307568e --- /dev/null +++ b/letsencrypt/README.md @@ -0,0 +1,62 @@ +To use letsencrypt follow these steps: + +``` +git clone https://github.com/letsencrypt/letsencrypt +cd letsencrypt +sudo ./letsencrypt-auto certonly --standalone --email youremail@somewhere.com -d yourserver.com +``` + +And then replace the NGINX file in `../install` with the following: + +``` +server { + listen 80; + server_name ADDRESS; + rewrite ^ https://$server_name$request_uri? permanent; +} + +server { + # SERVER BLOCK FOR ADDRESS + listen 443 ssl; + ssl_protocols TLSv1 TLSv1.1 TLSv1.2; + ssl_certificate /etc/letsencrypt/live/ADDRESS/cert.pem; + ssl_certificate_key /etc/letsencrypt/live/ADDRESS/privkey.pem; + + access_log /etc/nginx/logs/access-ADDRESS.log; + error_log /etc/nginx/logs/error-ADDRESS.log info; + root CUR_DIR; + server_name ADDRESS; + + # Media: images, icons, video, audio, HTC + location ~* \.(?:jpg|jpeg|gif|png|ico|cur|gz|svg|svgz|mp4|ogg|ogv|webm|htc)$ { + expires 1M; + access_log off; + add_header Cache-Control "public"; + } + + # CSS and Javascript + location ~* \.(?:css|js)$ { + expires 1y; + access_log off; + add_header Cache-Control "public"; + } + + location ^~ /static { + try_files $uri $uri/ =404; + } + + location ~ ^/ { + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header Host $http_host; + proxy_set_header X-NginX-Proxy true; + + proxy_pass https://127.0.0.1:PORT; + proxy_redirect off; + + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "upgrade"; + } +} +``` From 45af3d4f192efd3a7fe22dd37d811e539063f2a5 Mon Sep 17 00:00:00 2001 From: Zack Date: Sat, 13 Feb 2016 20:23:10 -0500 Subject: [PATCH 04/12] Update README.md Former-commit-id: 7c91481f5eadd309b7547cee730dc397f975a658 [formerly decaccea59c27e736371d97cc4de9814f8852b31] [formerly c6f7ceea626c74a23df4343d1487804346b5ce4c [formerly 822b14b6bcbab1247d02fae6c3e2a33ca50d9db5 [formerly f00d69399b41066ea3826f8e2c20e1e20e23f8fa]]] Former-commit-id: 8578c7f2bf0879053e46225465cf11fad18eb52b [formerly 8ecd2d1d3847cfddecd6187907a47ec8fb7246e4] Former-commit-id: f5abfd0360f7efbba4c761ae022f9d65aaae31a2 Former-commit-id: 04c2cc37cfccfdf5204b2baf12182f5b03d428a9 --- letsencrypt/README.md | 55 ------------------------------------------- 1 file changed, 55 deletions(-) diff --git a/letsencrypt/README.md b/letsencrypt/README.md index 307568e..156f343 100644 --- a/letsencrypt/README.md +++ b/letsencrypt/README.md @@ -5,58 +5,3 @@ git clone https://github.com/letsencrypt/letsencrypt cd letsencrypt sudo ./letsencrypt-auto certonly --standalone --email youremail@somewhere.com -d yourserver.com ``` - -And then replace the NGINX file in `../install` with the following: - -``` -server { - listen 80; - server_name ADDRESS; - rewrite ^ https://$server_name$request_uri? permanent; -} - -server { - # SERVER BLOCK FOR ADDRESS - listen 443 ssl; - ssl_protocols TLSv1 TLSv1.1 TLSv1.2; - ssl_certificate /etc/letsencrypt/live/ADDRESS/cert.pem; - ssl_certificate_key /etc/letsencrypt/live/ADDRESS/privkey.pem; - - access_log /etc/nginx/logs/access-ADDRESS.log; - error_log /etc/nginx/logs/error-ADDRESS.log info; - root CUR_DIR; - server_name ADDRESS; - - # Media: images, icons, video, audio, HTC - location ~* \.(?:jpg|jpeg|gif|png|ico|cur|gz|svg|svgz|mp4|ogg|ogv|webm|htc)$ { - expires 1M; - access_log off; - add_header Cache-Control "public"; - } - - # CSS and Javascript - location ~* \.(?:css|js)$ { - expires 1y; - access_log off; - add_header Cache-Control "public"; - } - - location ^~ /static { - try_files $uri $uri/ =404; - } - - location ~ ^/ { - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header Host $http_host; - proxy_set_header X-NginX-Proxy true; - - proxy_pass https://127.0.0.1:PORT; - proxy_redirect off; - - proxy_http_version 1.1; - proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection "upgrade"; - } -} -``` From 029a4ee18a91f92ad2a58b28fb7407538421992f Mon Sep 17 00:00:00 2001 From: Zack Date: Sat, 13 Feb 2016 20:23:24 -0500 Subject: [PATCH 05/12] Create awwkoala.ssl.nginx Former-commit-id: 66e408b0515bc0f5b153c86cb6d921e3498b7ab9 [formerly 638216bfa3e3dd8e3fca48deee6c840d179e73f8] [formerly b47acb1d7c4cb2cc0a17e81481010f10139b1293 [formerly 40ff960a768b0cb4694cab29ba78b306f8a4e07a [formerly 1a2db9ce1cbc14b9817e2720fd28f323d23f25bc]]] Former-commit-id: bfa2b68b933b73de0e5dd4977e5d5fab5b73cedf [formerly 9eee1bb571a0c59a041b78533114a58fcdda7101] Former-commit-id: ab088f318f7e7bd6c4c0b21a4c740eafb0808f66 Former-commit-id: 8e8ae2ac01cdde753e67ad3cb99da6cbd2be135d --- letsencrypt/awwkoala.ssl.nginx | 50 ++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 letsencrypt/awwkoala.ssl.nginx diff --git a/letsencrypt/awwkoala.ssl.nginx b/letsencrypt/awwkoala.ssl.nginx new file mode 100644 index 0000000..90efeb5 --- /dev/null +++ b/letsencrypt/awwkoala.ssl.nginx @@ -0,0 +1,50 @@ +server { + listen 80; + server_name ADDRESS; + rewrite ^ https://$server_name$request_uri? permanent; +} + +server { + # SERVER BLOCK FOR ADDRESS + listen 443 ssl; + ssl_protocols TLSv1 TLSv1.1 TLSv1.2; + ssl_certificate /etc/letsencrypt/live/ADDRESS/cert.pem; + ssl_certificate_key /etc/letsencrypt/live/ADDRESS/privkey.pem; + + access_log /etc/nginx/logs/access-ADDRESS.log; + error_log /etc/nginx/logs/error-ADDRESS.log info; + root CUR_DIR; + server_name ADDRESS; + + # Media: images, icons, video, audio, HTC + location ~* \.(?:jpg|jpeg|gif|png|ico|cur|gz|svg|svgz|mp4|ogg|ogv|webm|htc)$ { + expires 1M; + access_log off; + add_header Cache-Control "public"; + } + + # CSS and Javascript + location ~* \.(?:css|js)$ { + expires 1y; + access_log off; + add_header Cache-Control "public"; + } + + location ^~ /static { + try_files $uri $uri/ =404; + } + + location ~ ^/ { + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header Host $http_host; + proxy_set_header X-NginX-Proxy true; + + proxy_pass https://127.0.0.1:PORT; + proxy_redirect off; + + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "upgrade"; + } +} From 70c6583a0c7fbe43ad8fd4b14594bdf4bf48eec9 Mon Sep 17 00:00:00 2001 From: Zack Date: Sat, 13 Feb 2016 20:26:01 -0500 Subject: [PATCH 06/12] Update README.md Former-commit-id: 49890cc9713ca6f9eed1c6546f8576dddd47f996 [formerly 79da79e1c91692800d93c514df16ff3a059bccb3] [formerly 05a10f90300ef2bb144b06c0cfc67293107734f4 [formerly 86f54720af2ec316a619d1f40e8ad612658f0a95 [formerly 5effcda1720bf1e5e5fa907fdb7a82f99333b749]]] Former-commit-id: b0069f957ca34b9be3918418f525dbe9f9edda25 [formerly 7ca7ac6ea2b5bf4131cf8a8e600a7d66fd6ac029] Former-commit-id: 41ca6cb1e55125bde1fedfb42fb66689bb8d2eb5 Former-commit-id: adfd1021466d47ef7af0a807031d146cd61e8662 --- letsencrypt/README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/letsencrypt/README.md b/letsencrypt/README.md index 156f343..4d0ddd9 100644 --- a/letsencrypt/README.md +++ b/letsencrypt/README.md @@ -5,3 +5,9 @@ git clone https://github.com/letsencrypt/letsencrypt cd letsencrypt sudo ./letsencrypt-auto certonly --standalone --email youremail@somewhere.com -d yourserver.com ``` + +Use the NGINX block in this directory. Then startup `awwkoala` with + +```bash +sudo ./awwkoala -p :8001 -key /etc/letsencrypt/live/yourserver.com/privkey.pem -crt /etc/letsencrypt/live/yourserver.com/cert.pem yourserver.com +``` From ddb3dae32ae45823b56b638c73dbb265b3008923 Mon Sep 17 00:00:00 2001 From: Zack Date: Sat, 13 Feb 2016 20:32:15 -0500 Subject: [PATCH 07/12] Update README.md Former-commit-id: a5ea5763c48a438e3bb7fabffcf65f21c7ef56fc [formerly c8470c5418190d4ead4c0647c69b170667caad5a] [formerly 0be91e43b79a25094e1aea4bce2c4ef09e5e2de5 [formerly ece4780d904f45ce7907fae6ece29f9cf3780933 [formerly a9bb3daf0c81ead0fc97ee3cca8cb8a8fe59bfa6]]] Former-commit-id: 0a4edf33449b26678780305855e8a1fbd88c3380 [formerly 4c18e9234c9bca967c50ece1ed8bffcfbc2b9f54] Former-commit-id: 4b05bedc97ac2c83e76318ce87913247dcfeb7c1 Former-commit-id: 4efc0dbf4700c2de467f6c29d1116d75e47a615a --- letsencrypt/README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/letsencrypt/README.md b/letsencrypt/README.md index 4d0ddd9..d5ab27b 100644 --- a/letsencrypt/README.md +++ b/letsencrypt/README.md @@ -1,12 +1,16 @@ +First install the NGINX block in this directory. + To use letsencrypt follow these steps: ``` git clone https://github.com/letsencrypt/letsencrypt cd letsencrypt +sudo service nginx stop sudo ./letsencrypt-auto certonly --standalone --email youremail@somewhere.com -d yourserver.com +sudo service nginx start ``` -Use the NGINX block in this directory. Then startup `awwkoala` with +Then startup `awwkoala` with ```bash sudo ./awwkoala -p :8001 -key /etc/letsencrypt/live/yourserver.com/privkey.pem -crt /etc/letsencrypt/live/yourserver.com/cert.pem yourserver.com From f5449978899e06a6f504a84ec267e77830494a63 Mon Sep 17 00:00:00 2001 From: Zack Date: Sat, 13 Feb 2016 20:36:54 -0500 Subject: [PATCH 08/12] Create Makefile Former-commit-id: dda959fcc34f3d953a50310510e7c63332ea269e [formerly c4a7fbcf63626dddc3474b1de8f0fc9cfb984497] [formerly e8a788ead462fa8ffde79e5e221d85f7bae9bb6c [formerly 2c92e16c54974c441c32aaa4d05d89ea9dfdb430 [formerly 7d20c29f512a88d0dff88d50ff014ba96d5fb4a7]]] Former-commit-id: cd182dd99147fa2bdf5fb18893b60e29f7c166de [formerly a512e0b430a0b04f41cda292a4665e0f27dd8537] Former-commit-id: d69a05f0f12be6aefbb1815f687d8ba81b6ea7d5 Former-commit-id: b631f719426e4c99d3246748cdc9e9dafa7ba2db --- letsencrypt/Makefile | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 letsencrypt/Makefile diff --git a/letsencrypt/Makefile b/letsencrypt/Makefile new file mode 100644 index 0000000..f433c04 --- /dev/null +++ b/letsencrypt/Makefile @@ -0,0 +1,31 @@ +ADDRESS = yourserver.com +PORT = 8003 + +CUR_DIR = $(shell bash -c 'pwd') +USERCUR = $(shell bash -c 'whoami') + +make: + go build + +install: + rm -rf jinstall + mkdir jinstall + cp awwkoala.ssl.nginx awwkoala.ssl.nginx.temp + sed -i 's/PORT/$(PORT)/g' awwkoala.ssl.nginx.temp + sed -i 's/ADDRESS/$(ADDRESS)/g' awwkoala.ssl.nginx.temp + sed -i 's^CUR_DIR^$(CUR_DIR)^g' awwkoala.ssl.nginx.temp + cp awwkoala.init awwkoala.init.temp + sed -i 's/EXT_ADDRESS/$(ADDRESS)/g' awwkoala.init.temp + sed -i 's^CUR_DIR^$(CUR_DIR)^g' awwkoala.init.temp + sed -i 's^USERCUR^$(USERCUR)^g' awwkoala.init.temp + sed -i 's^PORT^$(PORT)^g' awwkoala.init.temp + cp awwkoala.init.temp /etc/init.d/awwkoala.init + chmod +x /etc/init.d/awwkoala.init + cp awwkoala.ssl.nginx.temp /etc/nginx/sites-available/awwkoala.nginx + ln -fs /etc/nginx/sites-available/awwkoala.nginx /etc/nginx/sites-enabled/awwkoala.nginx + /etc/init.d/nginx reload + /etc/init.d/nginx restart + /etc/init.d/awwkoala.init restart + rm -rf *.temp + +.PHONY: install From a5053e45865dc63a263e30ff9d70c95057befc29 Mon Sep 17 00:00:00 2001 From: Zack Date: Sat, 13 Feb 2016 20:38:11 -0500 Subject: [PATCH 09/12] Create awwkoala.init Former-commit-id: 9dfb534b53df067cd58ba2f546808ae5f7f813b5 [formerly 8a6c387a22bd88ee3415d47260f416afe045146d] [formerly ffe9b4f1d5fd75167e21a120a4a8c6ed64cc07cd [formerly ebebf85f4dd54a950dda884645572fbfe89e6c6f [formerly 4cbd462839755ab43eaf7760f23fb5869da5141a]]] Former-commit-id: f8ed5a0056c7dc845929a5c308b03079924a57c0 [formerly d7e14dbba86e73535cadf10502017331e27d468f] Former-commit-id: 47b1318da58a70007df19c34197fa1b1d22b6bff Former-commit-id: e4b1cb89ad278aa8c989cba90ead8a2c2b98fb0d --- letsencrypt/awwkoala.init | 101 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 101 insertions(+) create mode 100644 letsencrypt/awwkoala.init diff --git a/letsencrypt/awwkoala.init b/letsencrypt/awwkoala.init new file mode 100644 index 0000000..5a59509 --- /dev/null +++ b/letsencrypt/awwkoala.init @@ -0,0 +1,101 @@ +#!/bin/sh + +### BEGIN INIT INFO +# Provides: awwkoala +# Required-Start: $remote_fs $syslog +# Required-Stop: $remote_fs $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Start daemon at boot time +# Description: Enable service provided by daemon. +### END INIT INFO + +# This should be placed in /etc/init.d directory +# start with +# sudo /etc/init.d/awwkoala start +# stop with +# sudo /etc/init.d/awwkoala start + +dir="CUR_DIR" +user="USERCUR" +cmd="./awwkoala -p :PORT -key /etc/letsencrypt/live/EXT_ADDRESS/privkey.pem -crt /etc/letsencrypt/live/EXT_ADDRESS/cert.pem yourserver.com./awwkoala EXT_ADDRESS" + +name="awwkoala" +pid_file="/var/run/$name.pid" +stdout_log="/var/log/$name.log" +stderr_log="/var/log/$name.err" + +get_pid() { + cat "$pid_file" +} + +is_running() { + [ -f "$pid_file" ] && ps `get_pid` > /dev/null 2>&1 +} + +case "$1" in + start) + if is_running; then + echo "Already started" + else + echo "Starting $name" + cd "$dir" + sudo -u "$user" $cmd >> "$stdout_log" 2>> "$stderr_log" & + echo $! > "$pid_file" + if ! is_running; then + echo "Unable to start, see $stdout_log and $stderr_log" + exit 1 + fi + fi + ;; + stop) + if is_running; then + echo -n "Stopping $name.." + kill `get_pid` + for i in {1..10} + do + if ! is_running; then + break + fi + + echo -n "." + sleep 1 + done + echo + + if is_running; then + echo "Not stopped; may still be shutting down or shutdown may have failed" + exit 1 + else + echo "Stopped" + if [ -f "$pid_file" ]; then + rm "$pid_file" + fi + fi + else + echo "Not running" + fi + ;; + restart) + $0 stop + if is_running; then + echo "Unable to stop, will not attempt to start" + exit 1 + fi + $0 start + ;; + status) + if is_running; then + echo "Running" + else + echo "Stopped" + exit 1 + fi + ;; + *) + echo "Usage: $0 {start|stop|restart|status}" + exit 1 + ;; +esac + +exit 0 From 10e8acd9167dfe7e09360a83d1524d200fd3230c Mon Sep 17 00:00:00 2001 From: Zack Date: Sat, 13 Feb 2016 20:38:54 -0500 Subject: [PATCH 10/12] Update README.md Former-commit-id: 0fdc8690b9a00ddc35d15dbf1de6a77ca609079b [formerly 95f2e44070b27cf61dc505ffa9484e26739de519] [formerly f8702275a09665a81149ce1e9b047b377723dcdc [formerly 13e892bdf2689a6ee2e47cd41588ae12850399ed [formerly 9b69e155d829c73496c07018ae511b7fbf9cf3dd]]] Former-commit-id: 597855b2b9230a12d500fe5d74a3b0c487405950 [formerly 7f72d8ac8098aad6be3bd585bc7dc9a96de9f19a] Former-commit-id: ab610c0cf42bdbae0bf0c00a28007f7235054625 Former-commit-id: 442eb7bb870e650f8785d20bb5d23c97d4837d04 --- letsencrypt/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/letsencrypt/README.md b/letsencrypt/README.md index d5ab27b..c8657dc 100644 --- a/letsencrypt/README.md +++ b/letsencrypt/README.md @@ -1,4 +1,4 @@ -First install the NGINX block in this directory. +First install the NGINX block in this directory. (There is an experimental Makefile that will do this, just try `sudo make install`. To use letsencrypt follow these steps: From 1835171c8c3a10f90971bf1813511025fe85613f Mon Sep 17 00:00:00 2001 From: Zack Date: Sat, 13 Feb 2016 20:45:09 -0500 Subject: [PATCH 11/12] Update README.md Former-commit-id: 2627d37bab0ad8d4b8a0d501d299db2e4cc7dd66 [formerly fa936ef0617e14bae29ca6b6473647e5d8a28553] [formerly 2d6d8c0af2505d8c9992fe9c859076132226752c [formerly e8e45826f1d99f156be484522de4df8448f5ab93 [formerly a552ca83f8780d111079d34c54dc6644b13a5310]]] Former-commit-id: 88425e7feaf3aa89c5568470999ae521e7bd50fb [formerly f8605078f89782f75ba18c36493ca3d43d0910ce] Former-commit-id: 375e011eca44cc8c4419d08d74e242704773324b Former-commit-id: 50673245729b17d107d8b77f0bbd402cf6937bad --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 99832eb..7ba332d 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,10 @@ If you are writing a list and you want to tick off things really easily, just ad ## Automatic versioning All previous versions of all notes are stored and can be accessed by adding `?version=X` onto `/view` or `/edit`. If you are on the `/view` or `/edit` pages the menu below will show the most substantial changes in the history. Note, only the _current_ version can be edited (no branching allowed, yet). +## Security + +Now comes with HTTPS! + ## Keyboard Shortcuts Quickly transition between Edit/View/List by using `Ctl+Shift+E` to Edit, `Ctl+Shift+Z` to View, and `Ctl+Shift+L` to Listify. From 750ea68c0fcbe80b45d893bd1ac90a982a0178e5 Mon Sep 17 00:00:00 2001 From: Zack Date: Sat, 13 Feb 2016 20:45:31 -0500 Subject: [PATCH 12/12] Delete README.md Former-commit-id: 1bfa3549b03200137548d0134b5b278280bf7f93 [formerly cbf5a0ac471bbb2a440211fc45ae6f8cabf5f25b] [formerly 7acffc49193958b9ec74c119369edc5ec7129c80 [formerly b9760a87398170a86c5e2d1fa3baea2c832a7724 [formerly c4d9c37729d67ef0bd7915f157185a992e7f6930]]] Former-commit-id: 47d2a554578a7ef00d998878923152d59f3eea2c [formerly 7805930829f28d77edaff39536a3cb1d409ccfad] Former-commit-id: e7488fa096d28c08c1fd15b27ef73b9f23f5fb9b Former-commit-id: bc157a0184b70df46a61ae26baf6f8b516a44441 --- ssl/README.md | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 ssl/README.md diff --git a/ssl/README.md b/ssl/README.md deleted file mode 100644 index 3f92770..0000000 --- a/ssl/README.md +++ /dev/null @@ -1,10 +0,0 @@ -# To create sample keys: - -``` -openssl genrsa -out server.key 2048 -openssl req -new -x509 -key server.key -days 3650 -nodes -out server.crt -keyout server.crt -``` - -## TODO - -* check if ed25519 keys work