1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/proxitok_ynh.git synced 2024-09-03 20:15:53 +02:00
This commit is contained in:
Éric Gaspar 2023-01-01 14:55:34 +01:00
parent 5d5b12a90c
commit 52252cc799
2 changed files with 7 additions and 1 deletions

View file

@ -16,3 +16,9 @@ REDIS_PASSWORD= # Leave commented for no password
# JSON cache, used on Helpers\CacheEngines\JSONCache
# 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

View file

@ -9,7 +9,7 @@ location __PATH__/ {
# Common parameter to increase upload size limit in conjunction with dedicated php-fpm file
client_max_body_size 50M;
try_files $uri $uri/ index.php;
try_files $uri $uri/ /index.php;
location ~ [^/]\.php(/|$) {
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock;