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:51:39 +01:00
parent a4f6e405bc
commit 082b10913a
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -20,16 +20,6 @@ location __PATH__/ {
fastcgi_param SCRIPT_FILENAME $request_filename; fastcgi_param SCRIPT_FILENAME $request_filename;
} }
location ~ ^__PATH__/picture/ {
fastcgi_pass unix:/var/run/php__PHPVERSION__-fpm-__NAME__.sock;
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/ { location ~ ^__PATH__/ws/ {
proxy_pass http://127.0.0.1:__PORT__; proxy_pass http://127.0.0.1:__PORT__;
proxy_http_version 1.1; proxy_http_version 1.1;