mirror of
https://github.com/YunoHost-Apps/proxitok_ynh.git
synced 2024-09-03 20:15:53 +02:00
Fix
This commit is contained in:
parent
5d5b12a90c
commit
52252cc799
2 changed files with 7 additions and 1 deletions
|
@ -16,3 +16,9 @@ REDIS_PASSWORD= # Leave commented for no password
|
||||||
|
|
||||||
# JSON cache, used on Helpers\CacheEngines\JSONCache
|
# JSON cache, used on Helpers\CacheEngines\JSONCache
|
||||||
# API_CACHE_JSON=/tmp/proxitok_api # Path for JSON API Cache, leave commented for ./cache/api
|
# API_CACHE_JSON=/tmp/proxitok_api # Path for JSON API Cache, leave commented for ./cache/api
|
||||||
|
|
||||||
|
# Proxy Config
|
||||||
|
# PROXY_HOST=http://EXAMPLE_IP # Host to be used as proxy, make sure to type a valid protocol. Available: http:// | https:// | socks4:// | socks5://
|
||||||
|
# PROXY_PORT=8080
|
||||||
|
# PROXY_USERNAME=username
|
||||||
|
# PROXY_PASSWORD=password
|
||||||
|
|
|
@ -9,7 +9,7 @@ location __PATH__/ {
|
||||||
# Common parameter to increase upload size limit in conjunction with dedicated php-fpm file
|
# Common parameter to increase upload size limit in conjunction with dedicated php-fpm file
|
||||||
client_max_body_size 50M;
|
client_max_body_size 50M;
|
||||||
|
|
||||||
try_files $uri $uri/ index.php;
|
try_files $uri $uri/ /index.php;
|
||||||
location ~ [^/]\.php(/|$) {
|
location ~ [^/]\.php(/|$) {
|
||||||
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
||||||
fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock;
|
fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock;
|
||||||
|
|
Loading…
Reference in a new issue