Skip to content

Instantly share code, notes, and snippets.

@raku-cat
Created January 26, 2019 11:11
Show Gist options
  • Save raku-cat/683a0b4447f2cb5ff8224d32f732e2bd to your computer and use it in GitHub Desktop.
Save raku-cat/683a0b4447f2cb5ff8224d32f732e2bd to your computer and use it in GitHub Desktop.
location /abt/ {
proxy_set_header Host $host;
proxy_pass http://127.0.0.1:6969/;
proxy_set_header X-Forwarded-Host $server_name:$server_port;
proxy_hide_header Referer;
proxy_hide_header Origin;
proxy_set_header Referer '';
proxy_set_header Origin '';
add_header X-Frame-Options "SAMEORIGIN";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment