diff --git a/conf/.env b/conf/.env index 334a5a4..f3e42f9 100644 --- a/conf/.env +++ b/conf/.env @@ -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 diff --git a/conf/nginx.conf b/conf/nginx.conf index 19726a3..b39e9c7 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -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;