It builds. Needs testing

This commit is contained in:
Tanshu
2016-01-31 14:03:28 +05:30
parent dfff92d978
commit d70e9ae860
6 changed files with 44 additions and 11 deletions

4
nginx/Dockerfile Normal file
View File

@ -0,0 +1,4 @@
FROM nginx:latest
MAINTAINER tanshu
COPY brew.conf /etc/nginx/conf.d/default.conf

13
nginx/brew.conf Normal file
View File

@ -0,0 +1,13 @@
server {
listen 80;
server_name example.org;
charset utf-8;
location / {
proxy_pass http://web:80;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}