chore: serve static files directly via Nginx#6
chore: serve static files directly via Nginx#6jinrenjie wants to merge 1 commit intobuggregator:masterfrom
Conversation
|
Hey! Thx for the PR! Did you try 1.13.4-dev version? |
|
@butschster I deployed it using a Docker image with one click. Are we going to abandon updating the Docker image and instead build it directly from the source code? |
|
@jinrenjie I released version buggregator 1.13.4-dev, where (if I’m not mistaken) I fixed the issue with navigating between pages. Did you have a chance to try it? Regarding the Docker image — if I recall correctly, that’s how we used to do it before. Later we switched to handling HTML on the PHP side, since there are some additional limits there. |
@butschster I deploying with the
|
|
If the frontend is to be served via PHP, is what I did in this buggregator/server#290 PR correct? |
Good question! I'll check it. Thx! |
|
Hi @jinrenjie 👋 |


What was changed
Static files for the frontend SPA are now served directly via Nginx instead of being routed through the backend project. This removes the need for any SPA-specific configuration in the backend.
Why?
In the current version, refreshing on any frontend route other than the Home page results in a 404 response. By serving SPA routes directly with Nginx, we can handle routing at the web server level, simplifying backend configuration and improving performance.
Checklist