https://github.com/teddio/discordproxy
For when Discord pull a silly and block connectivity via user-agents etc.
https://github.com/teddio/discordproxy
discord nginx proxy
Last synced: 11 months ago
JSON representation
For when Discord pull a silly and block connectivity via user-agents etc.
- Host: GitHub
- URL: https://github.com/teddio/discordproxy
- Owner: TeddiO
- Created: 2019-04-06T18:48:26.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-06T19:06:43.000Z (almost 7 years ago)
- Last Synced: 2025-01-07T07:45:01.529Z (12 months ago)
- Topics: discord, nginx, proxy
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# About
Recently due to some bad actors Discord ended up blocking the entire User-Agent of an application I use.
Unfortunately this application doesn't allow you to modify the User-Agent header either so as a result I've thrown this sample nginx config together to show what can be done to work around this issue.
The nginx script itself has been designed with https in mind and does work when filled out appropriately. In theory there's nothing to stop a http-based version from working but hey, encrypt the internet and all that!
## Usage
Typically your average discord api usage would look like
`https://discordapp.com/api/guilds/123451234512345/members/678906890`
_Instead_, you replace the discord url with your own, e.g.
`https://discord.yourdomain.com/api/guilds/123451234512345/members/678906890`
## Disclaimers
As usual, use at your own risk and use responsibly. No warranty / support is provided and the script is supplied as-is.