Skip to content

dokku: Make nginx handle the 404 for re-routing the SPA#27

Merged
michaelwood merged 1 commit intolivefrom
mw/switch-to-ngnix
Feb 28, 2025
Merged

dokku: Make nginx handle the 404 for re-routing the SPA#27
michaelwood merged 1 commit intolivefrom
mw/switch-to-ngnix

Conversation

@michaelwood
Copy link
Member

This takes the default dokku nginx template and adds a handler to intercept the 404 from the upstream proxy that happens when a url such as /alldata /publishers is entered.

https://dokku.com/docs/networking/proxies/nginx/?h=nginx#customizing-the-nginx-configuration

Fixes: #20

This takes the default dokku nginx template and adds a handler to
intercept the 404 from the upstream proxy that happens when a url such
as /alldata /publishers is entered.

https://dokku.com/docs/networking/proxies/nginx/?h=nginx#customizing-the-nginx-configuration

Fixes: #20
@michaelwood michaelwood requested a review from R2ZER0 February 13, 2025 16:40
@michaelwood michaelwood merged commit a508ec6 into live Feb 28, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Change to a better webserver

1 participant