Created
May 24, 2021 18:01
-
-
Save cpwnd/015c3f1568b34d6da6490e89a2616d45 to your computer and use it in GitHub Desktop.
Revisions
-
cpwnd created this gist
May 24, 2021 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ # 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; }