Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+3 votes
579 views
in Q2A Core by

Hi!

I've googled a lot and read every Q&A related to nginx that I found around here, but no answer seems to work.

Here's the scenario:

Nginx 1.7.6, Q2A installed in /help, nginx with this conifg:

server {
        #listen   80; ## listen for ipv4; this line is default and implied
        #listen   [::]:80 default_server ipv6only=on; ## listen for ipv6
        root /var/www/htdocs;
        server_name mydomain.tld;
       index index.php index.html index.htm default.html default.htm;
       location /help {
                try_files $uri $uri/ /help/index.php?qa-rewrite=$request_uri&$args;
       }
        location ~ \.php$ {
            fastcgi_pass  127.0.0.1:9000;
            fastcgi_index index.php;
            include fastcgi_params;
            fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        }
}

 This is the best result I was able to achieve, trying to understand .htaccess. The problem is that I want fully nice URLs, but the admin page only lets me to enable from the third option.

What am I missing?

Thanks in advance!

Q2A version: 1.7.0

1 Answer

+1 vote
by
...