mirror of
https://github.com/kevin-DL/full-stack-fastapi-postgresql.git
synced 2026-01-14 02:54:44 +00:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cf5516cda6 | ||
|
|
151f7ed79b | ||
|
|
9c23d69f36 |
10
README.md
10
README.md
@@ -146,7 +146,15 @@ After using this generator, your new project (the directory created) will contai
|
|||||||
|
|
||||||
## Release Notes
|
## Release Notes
|
||||||
|
|
||||||
### Next
|
### Next release
|
||||||
|
|
||||||
|
### 0.2.2
|
||||||
|
|
||||||
|
* Fix frontend hijacking /docs in development. Using latest https://github.com/tiangolo/node-frontend with custom Nginx configs in frontend. <a href="https://github.com/tiangolo/full-stack-fastapi-postgresql/pull/6" target="_blank">PR #6</a>.
|
||||||
|
|
||||||
|
### 0.2.1
|
||||||
|
|
||||||
|
* Fix documentation for *path operation* to get user by ID. <a href="https://github.com/tiangolo/full-stack-fastapi-postgresql/pull/4" target="_blank">PR #4</a> by <a href="https://github.com/mpclarkson" target="_blank">@mpclarkson</a> in FastAPI.
|
||||||
|
|
||||||
* Set `/start-reload.sh` as a command override for development by default.
|
* Set `/start-reload.sh` as a command override for development by default.
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -0,0 +1,9 @@
|
|||||||
|
location /api {
|
||||||
|
return 404;
|
||||||
|
}
|
||||||
|
location /docs {
|
||||||
|
return 404;
|
||||||
|
}
|
||||||
|
location /redoc {
|
||||||
|
return 404;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user