mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 12:12:26 +08:00
Update nginx.config.sample to allow custom CSS
cf. http://meta.discourse.org/t/changing-css-in-customize-section-has-no-effect/10036
This commit is contained in:
parent
be0ce08cc2
commit
125c848ee3
|
@ -50,8 +50,11 @@ server {
|
|||
# return 403;
|
||||
#}
|
||||
|
||||
# let NGINX serve images
|
||||
# custom CSS
|
||||
location ~ /stylesheet-cache/ { try_files $uri =404; }
|
||||
# images
|
||||
location ~* \.(gif|png|jpg|jpeg|bmp|tif|tiff)$ { try_files $uri =404; }
|
||||
# thumbnails & optimized images
|
||||
location ~ /_optimized/ { try_files $uri =404; }
|
||||
|
||||
# attachments must go through the rails application to get the right content-disposition header
|
||||
|
|
Loading…
Reference in New Issue
Block a user