Skip to content

Instantly share code, notes, and snippets.

View BobbyWibowo's full-sized avatar
🎶
I may be slow to respond.

Bobby BobbyWibowo

🎶
I may be slow to respond.
View GitHub Profile
@BobbyWibowo
BobbyWibowo / conf.d_yourdomain.com.conf
Last active October 30, 2023 16:25 — forked from srstsavage/nginx_google_analytics
google analytics in nginx
server {
listen 80;
server_name yoursite.com;
# set $google_analytics_id and include the google_analytics file below
set $google_analytics_id "UA-12345678-9";
include /usr/local/nginx/conf/google-analytics.conf;
location / {
# your normal config goes here...