Nginx was written specifically to address the performance limitations of Apache web servers.
Is lightweight and since 2019 is most used webserver.
Would be nice to have it supported.
Using NGINX Web Server (v2021)
-
- User
- Posts: 92
Using NGINX Web Server (v2021)
-
- User
- Posts: 9424
PHPMaker 2021 generated site works fine with NGINX web server, see Nginx configuration about how to configure your NGINX web server.
Don't forget that you need to set up URL rewrite for the API folder also, e.g.
# project folder
location / {
try_files $uri /index.php$is_args$args;
}
# api folder
location /api/ {
try_files $uri /api/index.php$is_args$args;
}
-
- User
- Posts: 92
Ops, missed this reply.
The problem was at api location.
Thanks
# api folder
location /api/ {
try_files $uri /api/index.php$is_args$args;
}