setup nginx docker
This commit is contained in:
16
nginx/nginx.conf
Normal file
16
nginx/nginx.conf
Normal file
@@ -0,0 +1,16 @@
|
||||
upstream bartool_ovh {
|
||||
server web:8000;
|
||||
}
|
||||
|
||||
server {
|
||||
|
||||
listen 80;
|
||||
|
||||
location / {
|
||||
proxy_pass http://bartool_ovh;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header Host $host;
|
||||
proxy_redirect off;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user