summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorytti <saku@ytti.fi>2016-10-13 07:56:38 -0700
committerGitHub <noreply@github.com>2016-10-13 07:56:38 -0700
commit83a81dabdb8e0acb5cec4fdb83417898575d2736 (patch)
tree2768f1e61d898ab73a640c6ae889f55f03dd5c4c
parent7fdbdabafeb3f79de55cdbce295010be4fc48487 (diff)
parent8047a4dfb7c9a3f70e35c53b1d7703833da9d36a (diff)
Merge pull request #587 from denvera/master
Add apache2 reverse proxy example
-rw-r--r--extra/oxidized.apache214
1 files changed, 14 insertions, 0 deletions
diff --git a/extra/oxidized.apache2 b/extra/oxidized.apache2
new file mode 100644
index 0000000..0ab372b
--- /dev/null
+++ b/extra/oxidized.apache2
@@ -0,0 +1,14 @@
+<VirtualHost *:80>
+ # Place in sites-available
+
+ ServerAdmin admin@example.com
+ ServerName oxidized.example.com
+ ServerAlias oxidized
+
+ ProxyPass / http://127.0.0.1:8888/
+ ProxyPassReverse / http://127.0.0.1:8888/
+
+ ErrorLog /var/log/apache2/oxidized_error.log
+ CustomLog /var/log/apache2/oxidized_access.log combined
+
+</VirtualHost>