Skip to content

Commit

Permalink
simplify nginx cashe var name
Browse files Browse the repository at this point in the history
  • Loading branch information
khaledk2 committed Jan 13, 2025
1 parent 5a52dac commit b00edcb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Role Variables
- `omero_ms_image_region_download_URL`: The download URL for the distributed microservice build (zip file)
- `omero_ms_image_region_package_sha256`: The sha256 for the distributed microservice build
- `java_version`: The Java version matching the server version. Supported versions are 11, 17 and 21
- `nginx_cache_ms_cashe_path`: The Nginx cache folder for the microservice, default is `/var/cache/nginx/ms`
- `nginx_cache_path`: The Nginx cache folder for the microservice, default is `/var/cache/nginx/ms`

The microservice build **must be compatible** with the installed OMERO.server:
- The Bio-Formats version used in the microservice must match the Bio-Formats version of the OMERO.server.
Expand Down
2 changes: 1 addition & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,4 @@ nginx_cache_expiration_time: 60m
nginx_cache_inactive_time: 120m
nginx_cache_max_size: 25m

nginx_cache_ms_cash_path: '/var/cache/nginx/ms'
nginx_cache_path: '/var/cache/nginx/ms'
2 changes: 1 addition & 1 deletion templates/omero-web.conf.j2
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
proxy_cache_path {{ nginx_cache_ms_cashe_path }} levels=1:2 keys_zone=ms_cache:10m max_size={{ nginx_cache_max_size }} inactive={{ nginx_cache_inactive_time }} use_temp_path=off;
proxy_cache_path {{ nginx_cache_path }} levels=1:2 keys_zone=ms_cache:10m max_size={{ nginx_cache_max_size }} inactive={{ nginx_cache_inactive_time }} use_temp_path=off;

upstream image_region_backend {
server 127.0.0.1:{{ omero_ms_image_region_port }} fail_timeout=0 max_fails=0;
Expand Down

0 comments on commit b00edcb

Please sign in to comment.