The workaround for the js script is still required.
This commit is contained in:
parent
4630178bbe
commit
7755ab7dcd
|
@ -115,9 +115,9 @@ server {
|
|||
{% endif %}
|
||||
|
||||
# See https://www.redmine.org/projects/redmine/wiki/BrowserCaching
|
||||
# The old workaround is not required anymore at least since redmine 4.2
|
||||
#location ~* /(javascripts|stylesheets)/.+(css|js|jpg|gif|ico|png)(\?[0-9]+)?$ {
|
||||
location ~* \.(ico|css|js|gif|jp?g|png)(\?[0-9]+)?$ {
|
||||
#
|
||||
location ~* /(javascripts|stylesheets)/.+(css|js|jpg|gif|ico|png)(\?[0-9]+)?$ {
|
||||
#location ~* \.(ico|css|js|gif|jp?g|png)(\?[0-9]+)?$ {
|
||||
# add_header X-SV-test 304-killer; use this do-nothing HTTP Header, if you need to play with the regexp
|
||||
#- for testing without fear of breaking anything!
|
||||
expires {{ redmine_nginx_static_data_valid_time }};
|
||||
|
@ -288,9 +288,9 @@ server {
|
|||
{% endif %}
|
||||
|
||||
# See https://www.redmine.org/projects/redmine/wiki/BrowserCaching
|
||||
# The old workaround is not required anymore at least since redmine 4.2
|
||||
#location ~* /(javascripts|stylesheets)/.+(css|js|jpg|gif|ico|png)(\?[0-9]+)?$ {
|
||||
location ~* \.(ico|css|js|gif|jp?g|png)(\?[0-9]+)?$ {
|
||||
#
|
||||
location ~* /(javascripts|stylesheets)/.+(css|js|jpg|gif|ico|png)(\?[0-9]+)?$ {
|
||||
#location ~* \.(ico|css|js|gif|jp?g|png)(\?[0-9]+)?$ {
|
||||
# add_header X-SV-test 304-killer; use this do-nothing HTTP Header, if you need to play with the regexp
|
||||
#- for testing without fear of breaking anything!
|
||||
expires {{ redmine_nginx_static_data_valid_time }};
|
||||
|
|
Loading…
Reference in New Issue