Käynnissä

nginx config

nginx configuration needed for:

there is a script ([url removed, login to view]) located on server root.

access to this script should be possible via http://host/name/options

where options have to passed to [url removed, login to view] then.

problem now is, that when accessing http://host/name, it works,

but when accessing http://host/name/options, it downloads php file

instead of processing it

server {

listen 80;

server_name [url removed, login to view];

root /var/www/default;

index [url removed, login to view];

location /name {

try_files $uri $uri/ /[url removed, login to view] /[url removed, login to view] /[url removed, login to view];

}

location ~ \.php$ {

try_files $uri =404;

fastcgi_split_path_info ^(.+\.php)(/.+)$;

fastcgi_pass unix:/var/run/[url removed, login to view];

fastcgi_index [url removed, login to view];

include fastcgi_params;

}

location ~* ^.+\.(ogg|ogv|svg|svgz|eot|otf|woff|mp4|ttf|rss|atom|jpg|jpeg|gif|png|ico|zip|tgz|gz|rar|bz2|doc|xls|exe|ppt|tar|mid|midi|wav|bmp|rtf)$ {

access_log off;

log_not_found off;

expires max;

}

}

Taidot: Nginx

Näytä lisää: nginx test, 404 works, php-fpm, nginx, nginx configuration, rar zip script php, rss atom php, svg png, php fpm nginx, svg png php, ttf eot woff, nginx problem, www 301 index, php midi, html bmp, doc ppt, php svg png, jpg xls, ttf png script, php fpm configuration, script 404, png svg, wav html, php fpm, png ttf file

Tietoa työnantajasta:
( 20 arvostelua ) Braunau am Inn, Austria

Projektin tunnus: #5417076

Myönnetty käyttäjälle:

ranjan01

I can fix it immediately, Please give me a chance to complete it for you. PM with me for more detail and server credentials to start work.

20 $ USD 0 päivässä
(0 arvostelua)
0.0

3 freelanceria on tarjonnut keskimäärin 23 $ tähän työhön

markotitel

Hello, I may help you there. Kind regards. =========================================================

25 $ USD 1 päivässä
(1 arvostelu)
0.6
s2fdsindia

A proposal has not yet been provided

25 $ USD 0 päivässä
(0 arvostelua)
0.0