server {
listen 80 default_server;
root /var/www/fenixer;
index index.html index.htm;
pagespeed on;
pagespeed FileCachePath /var/ngx_pagespeed_cache;
location ~ “.pagespeed.([a-z].)?[a-z]{2}.[^.]{10}.[^.]+” {
add_header “” “”;
}
location ~ “^/pagespeed_static/” { }
location ~ “^/ngx_pagespeed_beacon$” { }
pagespeed EnableFilters insert_ga;
pagespeed AnalyticsID <UA-58852800-1>;
server_name fenixer.org;
location / {
try_files $uri $uri/ =404;
}
}
root@install:/etc/nginx/sites-available# cat itdawns.org
##
#
#
##
server {
pagespeed on;
pagespeed FileCachePath /var/ngx_pagespeed_cache;
location ~ “.pagespeed.([a-z].)?[a-z]{2}.[^.]{10}.[^.]+” {
add_header “” “”;
}
location ~ “^/pagespeed_static/” { }
location ~ “^/ngx_pagespeed_beacon$” { }
listen 80;
listen [::]:80;
root /var/www/itdawns;
index index.html index.htm;
server_name itdawns.org;
location / {
try_files $uri $uri/ =404;
}
#location /RequestDenied {
#}
#error_page 404 /404.html;
#
#error_page 500 502 503 504 /50x.html;
#location = /50x.html {
#}
#
#location ~ .php$ {
#
#}
#
#location ~ /.ht {
#}
}
#
#server {
#
#}
#
#server {
#
#
#
#
#
#}