Skip to content

Instantly share code, notes, and snippets.

@klclee
klclee / nginx.conf
Last active August 29, 2015 14:07 — forked from thoop/nginx.conf
Using prerender.io and auto location in emberjs
# Change YOUR_TOKEN to your prerender token and uncomment that line if you want to cache urls and view crawl stats
# Change example.com (server_name) to your website url
# Change /path/to/your/root to the correct value
server {
listen 80;
server_name example.com;
root /path/to/your/root;
index index.html;
@klclee
klclee / nginx.conf
Last active August 29, 2015 14:07 — forked from Stanback/nginx.conf
server {
listen 80;
listen [::]:80;
server_name yourserver.com;
root /path/to/your/htdocs;
error_page 404 /404.html
index index.html;
@klclee
klclee / nginx.conf
Last active August 29, 2015 14:07 — forked from plentz/nginx.conf
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048