Date: Fri, 06 Sep 2019 18:46:44 +0000 From: bugzilla-noreply@freebsd.org To: doc@FreeBSD.org Subject: [Bug 240374] Problem with Website - nginx - downloading instead of redirecting Message-ID: <bug-240374-9@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240374 Bug ID: 240374 Summary: Problem with Website - nginx - downloading instead of redirecting Product: Documentation Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Website Assignee: doc@FreeBSD.org Reporter: michael.valenta@seznam.cz Hello FreeBSD support, im having a little problem with website. Im using nginx on system FreeBSD 11.2. The problem is simple, when i click on any button, it's supposed to redirect me on another site, instead of it, it downloads an index.php and phpinfo, and that's bad, would love your help with fixing my issue as soon as possible, thanks :) My nginx config } server { server_name mydomain.com www.mydomain.com; # use domain name if you have here access_log /var/log/nginx/1.access.log; error_log /var/log/nginx/1.error.log; index index.php index.html index.htm; root /web/mydomain.com; # php config let nginx talk to php socket location ~ \.php$ { try_files $uri =404; fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_pass unix:/var/run/php72-fpm.sock; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; } } -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-240374-9>
