Ok, as expected, this was extremely stupid. location /app { index index.php; root /var/www; } When specifying location, the path should be set with root NOT containing the /locationby truffle - Php-fpm Mailing List - English
Ok, as expected, this was extremely stupid. location /app { index index.php; root /var/www; } When specifying location, the path should be set with root NOT containing the /locationby truffle - Nginx Mailing List - English
Sorry for this noob question, but frustration is eating me. I'm trying to set up my php app for 2 straight days, and no config seems to work to load it properly. My config: server { server_name mydomain.com; ... ... fastcgi_param HTTPS on; location /app { index index.php; alias /var/www/app; location ~ \.php$ { try_files $uri =404; includby truffle - Php-fpm Mailing List - English
Sorry for this noob question, but frustration is eating me. I'm trying to set up my php app for 2 straight days, and no config seems to work to load it properly. My config: server { server_name mydomain.com; ... ... fastcgi_param HTTPS on; location /app { index index.php; alias /var/www/app; location ~ \.php$ { try_files $uri =404;by truffle - Nginx Mailing List - English
Not if you don't have root access to the server. e.g. 90% of shared hosting environments which don't allow subdomains. Another example would be servers with Apache2 backend, since Nginx fails to follow .htacess / virtualhost redirects for subdomains under that scenario. (I tested this recently myself and ran into the unusual scenario of Apache VHost subdomains defaulting back to the root directby truffle - Ideas and Feature Requests
Hello, I would like to propose a simple feature request. The ability to use subfolders in the upstream module. Rational: 1) I want to utilize several cheap and/or free FTP hosting sites. 2) Be able to load balance all of them using the same content across multiple hosts, even if in a shared hosting environment. This should work like so: ------------------------------------- http {by truffle - Ideas and Feature Requests
Есть вполне обычный location, отвечающий за отдачу статики: location = /download { alias /var/files; try_files /$arg_a/$arg_b =404; } В процессе отладки конфигурации включил отладочный лог ошибок, а там увидел сообщения: *110 trying to use file: "/abc/def" "/varby truffle - Nginx Mailing List - Russian
I am using the following config: server { listen 80; server_name 192.168.1.10; location /shutter { proxy_pass http://192.168.1.10:8989; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } } The application I am using is called shutter lite: http://www.den4b.com/?x=productsby truffle - How to...
> мы не знаем, как называется кука сессии, но знаем, что начинается она с PHPSESS Что мешает сделать название куки с сессией статичным?by truffle - Nginx Mailing List - Russian
![]() |
![]() |
![]() |
![]() |
![]() |