This allows the mitmproxy configuration directory to be saved as a Docker volume so that its certificates are not regenerated every time the container is run. If the config file is directly included in the volume, then new changes to it will not be copied over during the image build because the volume mount (which is using the old config version) overwrites the whole directory. Using a symlink allows modifying the config without modifying anything in the configuration directory.
* reverse-proxy:
Also disable insecure SSL settings
Configuration updates for HTTP/2 and caching
Add support for rverse redirection
Also redirect nintendowifi.net for 3DS
Replace request host header instead of host
Update addon script to work with reverse proxy
Set up reverse proxy config
This removes the anticache option because the server behind the reverse proxy can control caching, and it also disables the somewhat buggy and unnecessary HTTP/2 support.
This reverse proxy listens on port 8888 and forwards all traffic to a local server running on port 81. TCP ports 80 and 443 should be forwarded to port 8888. This local server should be running a reverse proxy like nginx that will proxy requests based on the host header.
This creates a script for setting up the Pretendo network servers. Currently, it only downloads several relevant Git repositories and Go libraries and organizes them.
I plan to continue working on this script so it will be able to fully set up and configure all of the servers.
This replaces the simple "nintendo.net => pretendo.cc" substitution with a customized redirection for each Pretendo server.
This is necessary for several reasons:
- The Grove server expects `eshop.pretendo.cc`, not `geisha-wup`...
- Each server must be run on a different port. The port numbers must be configured manually for each Pretendo server.