:fix: test path
This commit is contained in:
parent
69dd13af4d
commit
5ebd46de77
@ -26,3 +26,4 @@ services:
|
|||||||
- 8080:8080
|
- 8080:8080
|
||||||
volumes:
|
volumes:
|
||||||
- ./nginx.conf:/etc/nginx.conf
|
- ./nginx.conf:/etc/nginx.conf
|
||||||
|
- ../:/usr/app
|
||||||
|
@ -19,20 +19,20 @@ http {
|
|||||||
types_hash_bucket_size 128;
|
types_hash_bucket_size 128;
|
||||||
gzip on;
|
gzip on;
|
||||||
|
|
||||||
server {
|
server {
|
||||||
add_header 'Access-Control-Allow-Origin' '*';
|
add_header 'Access-Control-Allow-Origin' '*';
|
||||||
add_header 'Access-Control-Allow-Methods' 'GET, POST, DELETE, OPTIONS';
|
add_header 'Access-Control-Allow-Methods' 'GET, POST, DELETE, OPTIONS';
|
||||||
listen 8080;
|
listen 8080;
|
||||||
location /admin {
|
location /admin {
|
||||||
root /home/ilya/git/contact_mailer/adminer;
|
root /usr/app/adminer;
|
||||||
index index.html;
|
index index.html;
|
||||||
}
|
}
|
||||||
location / {
|
location / {
|
||||||
root /home/ilya/git/contact_mailer/test;
|
root /usr/app/test;
|
||||||
index test.html;
|
index test.html;
|
||||||
}
|
}
|
||||||
location /api/ {
|
location /api/ {
|
||||||
proxy_pass http://mailer:8080/;
|
proxy_pass http://mailer:8080;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user