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:
parent
a4f6e405bc
commit
082b10913a
1 changed files with 0 additions and 10 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue