Ophir LOJKINE
Ophir LOJKINE
Hello and welcome to SQLPage ! The [csv component](https://sql.ophir.dev/documentation.sql?component=csv#component) allows you to download the data as CSV, which can be opened in excel (and other spreadsheet software).
We now also have a spreadsheet component: https://github.com/lovasoa/sqlpage-spreadsheet/
Hello Olivier, and thanks for opening this! Indeed, the each_row template has to be at the "top level" of a template (not nested in another block). This limitation would be...
Hello and welcome to SQLPage! The general template of the application is defined in the [shell component](https://sql.ophir.dev/documentation.sql?component=shell#component), that already has quite a few options available. However, creating a sidebar is...
That's fantastic! I appreciate your willingness to collaborate. If you have any questions or encounter any challenges while working on it, feel free to reach out. You can open a...
The `try_files` directive in Nginx specifies the files to attempt to serve before falling back to a specified URI or passing the request to a proxy server. It's typically used...
```nginx location ~ \.sql$ { include my/proxy/conf; } location / { try_files $uri @reverse_proxy; } location @reverse_proxy { include my/proxy/conf; } ```
> possible to forward endpoints like "/user.sql" to "/user" using rewriting in nginx? Yes, it's possible. See this previous discussion: https://github.com/lovasoa/SQLpage/discussions/231
What you want is the opposite, isn't it? You want nginx to receive requests **without** .sql, and rewrite then to **add** .sql before forwarding them to SQLPage.
You want your browser to show /clientes, and SQLPage to load the file clientes.sql. So you need nginx to rewrite the request sent by your browser **from /clientes to /clientes.sql**...