[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 72/119: notes for running behind an Apache HTTPS proxy
From: |
Eric Schulte |
Subject: |
[elpa] 72/119: notes for running behind an Apache HTTPS proxy |
Date: |
Mon, 10 Mar 2014 16:57:40 +0000 |
eschulte pushed a commit to branch master
in repository elpa.
commit 3d65fc61a9e2fa05934db29099763e121033b051
Author: Eric Schulte <address@hidden>
Date: Mon Jan 6 00:29:52 2014 -0700
notes for running behind an Apache HTTPS proxy
---
NOTES | 34 +++++++++++++++++++++++++++++++++-
1 files changed, 33 insertions(+), 1 deletions(-)
diff --git a/NOTES b/NOTES
index 239ac2a..8c392f5 100644
--- a/NOTES
+++ b/NOTES
@@ -39,8 +39,40 @@ against common attacks.
#+end_quote
** TODO tutorial or usage section in documentation [0/3]
-*** TODO running behind an https proxy
*** TODO running behind a proxy
+*** TODO running behind an https proxy
+**** Nginx
+http://www.cyberciti.biz/faq/howto-linux-unix-setup-nginx-ssl-proxy/
+
+**** Apache
+The following example configuration will cause Apache to act as an
+HTTPS proxy for an instance of the Emacs web server running on the
+same machine. With this setup Apache speaks HTTPS to the outside
+world, and communicates with the Emacs web server using HTTP. This
+requires that Apache has =mod_proxy= and =mod_ssl= enabled, and that
+the certificate and key files required for SSL are present.
+
+Assuming the Emacs web server is listening on port 8888 and is running
+on the same machine as Apache an Apache virtual host configuration
+along the same lines as the following should work.
+
+: <VirtualHost *:443>
+: ProxyPreserveHost On
+: ServerName yourserver.com
+:
+: SSLEngine On
+: SSLCertificateFile /etc/httpd/conf/server.crt
+: SSLCertificateKeyFile /etc/httpd/conf/server.key
+:
+: # Require SSL for all pages
+: <Location/>
+: SSLRequireSSL
+: </Location>
+:
+: ProxyPass / http://127.0.0.1:8888/
+: ProxyPassReverse / http://127.0.0.1:8888/
+: </VirtualHost>
+
*** TODO documentation for running in a chroot jail
see https://wiki.archlinux.org/index.php/nginx#Installation_in_a_chroot
- [elpa] 52/119: changed prefix: ews -> ws, (continued)
- [elpa] 52/119: changed prefix: ews -> ws, Eric Schulte, 2014/03/10
- [elpa] 63/119: autoload ws-start, Eric Schulte, 2014/03/10
- [elpa] 62/119: example serving Org-mode files exported on demand, Eric Schulte, 2014/03/10
- [elpa] 64/119: fix file header, Eric Schulte, 2014/03/10
- [elpa] 65/119: handle POST file uploads w/example, Eric Schulte, 2014/03/10
- [elpa] 66/119: notes, Eric Schulte, 2014/03/10
- [elpa] 70/119: run all tests with "make check", Eric Schulte, 2014/03/10
- [elpa] 67/119: test large file upload (w/o network chunking), Eric Schulte, 2014/03/10
- [elpa] 69/119: refactoring no multiple concurrent header parsing, Eric Schulte, 2014/03/10
- [elpa] 71/119: updating notes and README text, Eric Schulte, 2014/03/10
- [elpa] 72/119: notes for running behind an Apache HTTPS proxy,
Eric Schulte <=
- [elpa] 73/119: some more examples to implement, Eric Schulte, 2014/03/10
- [elpa] 68/119: no multiple concurrent entry of ws-parse-request, Eric Schulte, 2014/03/10
- [elpa] 76/119: and more web-socket progress, Eric Schulte, 2014/03/10
- [elpa] 74/119: beginning to implement web-socket support, Eric Schulte, 2014/03/10
- [elpa] 77/119: handle chunked receipt of web-socket messages, Eric Schulte, 2014/03/10
- [elpa] 78/119: hold, Eric Schulte, 2014/03/10
- [elpa] 79/119: beginning to add convenience macro for web sockets, Eric Schulte, 2014/03/10
- [elpa] 81/119: implemented ws-web-socket-frame to send replies, Eric Schulte, 2014/03/10
- [elpa] 80/119: helpers for handling web socket connections, Eric Schulte, 2014/03/10
- [elpa] 82/119: web-sockets are working, Eric Schulte, 2014/03/10