Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pools direct links not working #131

Open
dimiandre opened this issue Jan 14, 2022 · 2 comments
Open

pools direct links not working #131

dimiandre opened this issue Jan 14, 2022 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@dimiandre
Copy link

dimiandre commented Jan 14, 2022

direct links to pools go 404

example

https://junoswap.com/pools/JUNO-ATOM

https://deploy-preview-129--laughing-agnesi-30fb23.netlify.app/pools/JUNO-POOD

this is my nginx configuration


	location / {
		# First attempt to serve request as file, then
		# as directory, then fall back to displaying a 404.
		try_files $uri /$uri.html $uri/ =404;
	}

do you have any hint?

@dimiandre dimiandre changed the title direct links not working pools direct links not working Jan 14, 2022
@sashimi36 sashimi36 added the help wanted Extra attention is needed label Feb 17, 2022
@sashimi36
Copy link
Collaborator

cc @ben2x4

@zakarialounes
Copy link

zakarialounes commented Mar 15, 2022

direct links to pools go 404

example

https://junoswap.com/pools/JUNO-ATOM

https://deploy-preview-129--laughing-agnesi-30fb23.netlify.app/pools/JUNO-POOD

this is my nginx configuration


	location / {
		# First attempt to serve request as file, then
		# as directory, then fall back to displaying a 404.
		try_files $uri /$uri.html $uri/ =404;
	}

do you have any hint?

@dimiandre you should replace try_files $uri /$uri.html $uri/ =404; by try_files $uri $uri/ /index.html; and catch the 404 inside next router.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants