Giter Club home page Giter Club logo

proxyparty's Introduction

proxy server + NixOS = proxyparty!

You've found a pass to the proxy party!

Ever need to redirect one URL to another? Ever need to proxy a website to a different domain? Hate manually configuring nginx?

This is Hack Club's proxy server, which we rely on to make sure our old links keep working, that certain domains are proxied to different domains to get around school filters, and that any needed redirects are easy to set up and manage.

Here's how it works:

  1. Open up rules.nix and add a new rule to either redirect, permanently redirect, or proxy one URL to another
  2. Make sure the domain you want to redirect from / proxy to points to proxyparty.hackclub.com (most Hack Club domains have a subdomain wildcard that points to this server, see hackclub/dns)
  3. Submit a pull request with your changes

Orpheus at a proxy party admissions booth

And that's it! Once your pull request is merged, a new nginx configuration with your changes is automatically generated, and the server at proxyparty.hackclub.com is automatically updated using GitHub Actions.

Itโ€™ll even get an SSL certificate if one doesnโ€™t already exist for the domain, and automatically renew any SSL certificates when itโ€™s time. It's almost like magic, thanks to the power of NixOS!

License

proxyparty is licensed under the MIT License!

proxyparty's People

Contributors

zachlatta avatar cjdenio avatar zfogg avatar exu3 avatar kognise avatar recursiveforte avatar garyhtou avatar maxwofford avatar sampoder avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.