:fix: test path

This commit is contained in:
Adrian Amaglio 2020-12-26 16:42:08 +01:00
parent 69dd13af4d
commit 5ebd46de77
2 changed files with 16 additions and 15 deletions

View File

@ -26,3 +26,4 @@ services:
- 8080:8080
volumes:
- ./nginx.conf:/etc/nginx.conf
- ../:/usr/app

View File

@ -24,15 +24,15 @@ server {
add_header 'Access-Control-Allow-Methods' 'GET, POST, DELETE, OPTIONS';
listen 8080;
location /admin {
root /home/ilya/git/contact_mailer/adminer;
root /usr/app/adminer;
index index.html;
}
location / {
root /home/ilya/git/contact_mailer/test;
root /usr/app/test;
index test.html;
}
location /api/ {
proxy_pass http://mailer:8080/;
proxy_pass http://mailer:8080;
}
}
}