Docker Test with Nginx
This commit is contained in:
parent
886f22ac85
commit
1a3bee1846
14 changed files with 70 additions and 34 deletions
|
|
@ -16,21 +16,21 @@ http {
|
|||
proxy_send_timeout 90;
|
||||
proxy_read_timeout 90;
|
||||
proxy_buffers 32 4k;
|
||||
|
||||
upstream frontend {
|
||||
server frontend:4200;
|
||||
|
||||
upstream server {
|
||||
server server:4200;
|
||||
}
|
||||
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name wordpress;
|
||||
server_name flask-aled;
|
||||
access_log logs/access.log;
|
||||
|
||||
location / {
|
||||
proxy_pass http://frontend;
|
||||
proxy_pass http://server;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue