Bug 240688

Summary: Downloading instead of redirecting
Product: Other Reporter: Michael Valenta <michael.valenta>
Component: SpamAssignee: Kubilay Kocak <koobs>
Status: Closed Not A Bug    
Severity: Affects Many People CC: bugmeister
Priority: ---    
Version: unspecified   
Hardware: Any   
OS: Any   

Description Michael Valenta 2019-09-19 15:01:24 UTC
Hello FreeBSD,

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 redirecting it downloads a file and that's bad, would love your help with fixing my issue as soon as possible, i already typed on your support, but no respond, and we really need fast respond, so please, answer me, since we already bought your system.

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;  
    
	}
}
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2019-09-20 03:57:44 UTC
Thank you for your report Michael

FreeBSD is a freely-available operating system that does not charge to obtain or use it. If you have purchased your system from a vendor, you may want to consider contacting them directly for support.

We also don't use Bugzilla for general support issues, but we do have support resources available to users, such as our mailing lists, forums and IRC, which you can find here:

https://www.freebsd.org/support.html
https://www.freebsd.org/community.html

I would suggest first starting in an nginx-specific support channel, such as the #nginx channel on IRC, unless the issue is isolated to be FreeBSD specific.