You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be useful to include in the documentation the configuration for nginx (i.e. the equivalent entry to include in the sites-enabled default file, which I understood should include the rewrite information instead of the .htaccess file used by apache).
Being new to this, I used an online converter, which gave me the following:
I included the above in the NGINX default file of the sites-enabled diectory, however it doesn't work. (I get a 403 Forbidden error when trying to access the photos directory). PHP itself is set up correctly, according to tests, and the php.info file loads OK under NGINX.
The text was updated successfully, but these errors were encountered:
It would be useful to include in the documentation the configuration for nginx (i.e. the equivalent entry to include in the sites-enabled default file, which I understood should include the rewrite information instead of the .htaccess file used by apache).
Being new to this, I used an online converter, which gave me the following:
nginx configuration by winginx.com
location ~ ^/photos/nova-config/.*$ { }
location ~ ^/photos/nova-base/.*$ { }
location ~ ^/photos/nova-languages/.*$ { }
location /photos/ {
if (!-e $request_filename){
rewrite ^/photos/(.*) /photos/index.php break;
}
}
I included the above in the NGINX default file of the sites-enabled diectory, however it doesn't work. (I get a 403 Forbidden error when trying to access the photos directory). PHP itself is set up correctly, according to tests, and the php.info file loads OK under NGINX.
The text was updated successfully, but these errors were encountered: