Skip to content

Instantly share code, notes, and snippets.

@francoisruty
Created February 14, 2021 17:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save francoisruty/43f89b607a5cb045abb16e2ec42fa9f0 to your computer and use it in GitHub Desktop.
Save francoisruty/43f89b607a5cb045abb16e2ec42fa9f0 to your computer and use it in GitHub Desktop.
fruty_docker-outbound-restriction
user nginx;
worker_processes 8;
error_log syslog:server=unix:/dev/log warn;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
stream {
server {
listen 443;
proxy_pass google.com:443;
}
server {
listen 80;
proxy_pass google.com:80;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment