Changeset View
Changeset View
Standalone View
Standalone View
nginx.conf
Show All 24 Lines | location /doc/ { | ||||
index index.html; | 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 -1; | ||||
} | } | ||||
error_page 500 502 503 504 /50x.html; | error_page 500 502 503 504 /50x.html; | ||||
location = /50x.html { | location = /50x.html { | ||||
root /usr/share/nginx/html; | root /usr/share/nginx/html; | ||||
} | } | ||||
} | } | ||||
Show All 12 Lines |