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