diff --git a/front/nginx.conf b/front/nginx.conf index 5423b15..e58185e 100644 --- a/front/nginx.conf +++ b/front/nginx.conf @@ -7,7 +7,7 @@ server { try_files $uri $uri/ /index.html; } - location /api { - proxy_pass http://server:8080; + location ~ ^/api(/.*|$) { + proxy_pass http://server:8080/$1; } } diff --git a/priv/.dockerignore b/priv/.dockerignore new file mode 100644 index 0000000..0bdfd49 --- /dev/null +++ b/priv/.dockerignore @@ -0,0 +1 @@ +keys