It builds. Needs testing
This commit is contained in:
4
nginx/Dockerfile
Normal file
4
nginx/Dockerfile
Normal 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
13
nginx/brew.conf
Normal 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user