summaryrefslogtreecommitdiff
path: root/extra/oxidized.nginx
diff options
context:
space:
mode:
authorroedie <github@roedie.nl>2016-10-12 21:53:33 +0200
committerroedie <github@roedie.nl>2016-10-12 21:53:33 +0200
commit90107fdced86e28fc6356e16ffb3bfa770d3a7b3 (patch)
tree7928917d0acb0e93c9e29eaf3c1360d5f31ff6a1 /extra/oxidized.nginx
parent6612535aa3378b99f836b41e675bf8f92a1159e7 (diff)
Add nginx reverse proxy example
Diffstat (limited to 'extra/oxidized.nginx')
-rw-r--r--extra/oxidized.nginx14
1 files changed, 14 insertions, 0 deletions
diff --git a/extra/oxidized.nginx b/extra/oxidized.nginx
new file mode 100644
index 0000000..06a4768
--- /dev/null
+++ b/extra/oxidized.nginx
@@ -0,0 +1,14 @@
+server {
+ listen 80;
+ listen [::]:80;
+
+ server_name oxidized.example.com;
+
+ location / {
+ proxy_pass http://127.0.0.1:8888/;
+ }
+
+ access_log /var/log/nginx/access_oxidized.log;
+ error_log /var/log/nginx/error_oxidized.log;
+}
+