Changeset View
Changeset View
Standalone View
Standalone View
nginx.conf
Show All 12 Lines | server { | ||||
} | } | ||||
root /usr/share/nginx/html; | root /usr/share/nginx/html; | ||||
location / { | location / { | ||||
index index.html; | index index.html; | ||||
} | } | ||||
location /doc/ { | |||||
# Autoindex all /doc routes until proper index pages are in place | |||||
autoindex on; | |||||
index index.html; | |||||
} | |||||
location ~* \.(jpg|jpeg|png|gif|ico)$ { | location ~* \.(jpg|jpeg|png|gif|ico)$ { | ||||
expires 30d; | expires 30d; | ||||
} | } | ||||
location ~* \.(css|js)$ { | location ~* \.(css|js)$ { | ||||
expires 1d; | expires 1d; | ||||
} | } | ||||
Show All 18 Lines |