8000 Remove unused config from nginx · Pull Request #1666 · mempool/mempool · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Remove unused config from nginx #1666

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

Merged
merged 1 commit into from May 18, 2022
Merged

Remove unused config from nginx #1666

merged 1 commit into from May 18, 2022

Conversation

ghost
Copy link
@ghost ghost commented May 18, 2022

Since the express router does the proxy for backend api endpoint https://github.com/mempool/mempool/blob/master/backend/src/index.ts#L231,

I think it would be good to remove the proxy_pass directive to avoid confusion for users installing mempool instances.

@cla-bot
Copy link
cla-bot bot commented May 18, 2022

Thanks for your contribution to The Mempool Open Source Project. We require all contributors to agree to our Contributor License Agreement and don't seem to have one for you on file. Please see the instructions in CONTRIBUTING.md to proceed with this pull request.

@wiz
Copy link
Member
wiz commented May 18, 2022

Good point, we can probably do this. However, it would be preferable to not proxy requests for such resources, and instead fetch them over Tor in one big blob at startup, and periodically at random intervals after then.

Copy link
Member
@wiz wiz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK, will need @knorrium to test later on that all About page functionality still works being proxied thru the backend instead of nginx

@wiz wiz merged commit 4d213a8 into mempool:master May 18, 2022
@ghost ghost deleted the fix-nginx branch May 20, 2022 05:03
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.

2 participants
0