3 Commits

Author SHA1 Message Date
Sebastián Ramírez
ff901a3ad8 🐛 Fix frontend Dockerfile copying Nginx config 2019-04-11 21:39:00 +04:00
Sebastián Ramírez
f934339288 🐛 Fix frontend hijacking /docs in development 2019-04-11 21:31:34 +04:00
Sebastián Ramírez
9c23d69f36 🔖 Update README release notes 2019-03-29 18:36:43 +04:00
3 changed files with 15 additions and 1 deletions

View File

@@ -146,7 +146,11 @@ After using this generator, your new project (the directory created) will contai
## Release Notes ## Release Notes
### Next ### Next release
### 0.2.1
* Fix documentation for *path operation* to get user by ID. <a href="https://github.com/tiangolo/fastapi/pull/97" target="_blank">PR #97</a> by <a href="https://github.com/mpclarkson" target="_blank">@mpclarkson</a>.
* Set `/start-reload.sh` as a command override for development by default. * Set `/start-reload.sh` as a command override for development by default.

View File

@@ -25,3 +25,4 @@ FROM nginx:1.15
COPY --from=build-stage /app/dist/ /usr/share/nginx/html COPY --from=build-stage /app/dist/ /usr/share/nginx/html
COPY --from=build-stage /nginx.conf /etc/nginx/conf.d/default.conf COPY --from=build-stage /nginx.conf /etc/nginx/conf.d/default.conf
COPY ./nginx-backend-not-found.conf /etc/nginx/extra-conf.d/backend-not-found.conf

View File

@@ -0,0 +1,9 @@
location /api {
return 404;
}
location /docs {
return 404;
}
location /redoc {
return 404;
}