Skip to content
Discussion options

You must be logged in to vote

As I said in my original reply I solved it. To use a simple nginx reverse proxy create a file called nginx.conf and put the following content in it:

events {
  worker_connections 1024;
}

http {
  server {
    listen 8080;
    location / {
       proxy_hide_header   Referer;
       proxy_hide_header   Origin;
       proxy_set_header    Referer                 '';
       proxy_set_header    Origin                  '';
       proxy_redirect      off;
       proxy_set_header    Host                    $host;
       proxy_set_header    X-Real-IP               $remote_addr;
       proxy_set_header    X-Forwarded-Host        $host:$server_port;
       proxy_set_header    X-Forwarded-Server     …

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@dr41d45
Comment options

Comment options

You must be logged in to vote
1 reply
@martijnmelchers
Comment options

Answer selected by martijnmelchers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants