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 characters
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... |