Skip to content

Instantly share code, notes, and snippets.

@beardcoder
Created May 5, 2019 09:39
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 beardcoder/54cd09c0551dcc7e4e910b5f4b0dec53 to your computer and use it in GitHub Desktop.
Save beardcoder/54cd09c0551dcc7e4e910b5f4b0dec53 to your computer and use it in GitHub Desktop.
Docker Proxy settings for ISPconfig with nginx
location / {
proxy_pass http://localhost:2080;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $server_name;
access_log off;
log_not_found off;
allow all;
}
location ~ \.php$ {##delete##
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment