Skip to content

Instantly share code, notes, and snippets.

@Eragoo
Created March 3, 2022 15:53
Show Gist options
  • Save Eragoo/7ba7746651687a4c72eaec166368f636 to your computer and use it in GitHub Desktop.
Save Eragoo/7ba7746651687a4c72eaec166368f636 to your computer and use it in GitHub Desktop.
reverse proxy config
user nginx;
worker_processes auto;
error_log /var/log/nginx/error.log notice;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
http {
server {
listen 80;
server_name http://localhost;
location / {
proxy_pass HOST;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment