1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/movim_ynh.git synced 2024-09-03 19:46:19 +02:00

Update nginx.conf

This commit is contained in:
ericgaspar 2021-02-21 14:37:01 +01:00
parent cb4a22df8e
commit befd33ed15
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -20,6 +20,15 @@ location __PATH__/ {
fastcgi_param SCRIPT_FILENAME $request_filename;
}
location ~ ^__PATH__/picture/ {
include fastcgi_params;
add_header X-Cache $upstream_cache_status;
fastcgi_ignore_headers "Cache-Control" "Expires" "Set-Cookie";
fastcgi_cache nginx_cache;
fastcgi_cache_key $request_method$host$request_uri;
fastcgi_cache_valid any 7d;
}
location ~ ^__PATH__/ws/ {
proxy_pass http://127.0.0.1:__PORT__;
proxy_http_version 1.1;