From 082b10913a68895e3ce1a5d00c3d3d8626072f82 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 21 Feb 2021 14:51:39 +0100 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index ef2c8ed..839822e 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -20,16 +20,6 @@ location __PATH__/ { 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/ { proxy_pass http://127.0.0.1:__PORT__; proxy_http_version 1.1;