mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 09:36:19 -05: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
1 changed files with 4 additions and 1 deletions
|
@ -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 a new issue