diff options
author | ytti <saku@ytti.fi> | 2016-10-12 13:02:14 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-12 13:02:14 -0700 |
commit | 7fdbdabafeb3f79de55cdbce295010be4fc48487 (patch) | |
tree | 7928917d0acb0e93c9e29eaf3c1360d5f31ff6a1 /extra/oxidized.nginx | |
parent | 6612535aa3378b99f836b41e675bf8f92a1159e7 (diff) | |
parent | 90107fdced86e28fc6356e16ffb3bfa770d3a7b3 (diff) |
Merge pull request #586 from roedie/doc-nginx
Add nginx reverse proxy example
Diffstat (limited to 'extra/oxidized.nginx')
-rw-r--r-- | extra/oxidized.nginx | 14 |
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; +} + |