Skip to content

Instantly share code, notes, and snippets.

View cpwnd's full-sized avatar

Chris cpwnd

  • Frankfurt am Main, Germany
View GitHub Profile
@cpwnd
cpwnd / nginx.conf
Created May 24, 2021 18:01
Don't forget the nginx proxy pass configuration
# nginx conf
location / {
proxy_pass https://example.com/matomo/; # or without the 'matomo' path, but when with path, don't forget the trailing '/'
proxy_set_header Host example.com;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Accel-Internal /internal-nginx-static-location;
access_log off;
}
@cpwnd
cpwnd / test.txt
Last active September 10, 2017 21:04
list of apt packages
test