Skip to content

Instantly share code, notes, and snippets.

@beanyoung
Last active December 12, 2021 14:36
Show Gist options
  • Save beanyoung/904a57c458e2eccfcb99e4c4a59e48c2 to your computer and use it in GitHub Desktop.
Save beanyoung/904a57c458e2eccfcb99e4c4a59e48c2 to your computer and use it in GitHub Desktop.
server {
listen *:80 backlog=4096;
server_name *.stdcdn.com stdcdn.com;
client_max_body_size 1024m;
location / {
proxy_pass http://10.3.96.3:80;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
proxy_redirect off;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment