Skip to content

Pretty URLs feature via GET param? #231

Answered by lovasoa
matthewlarkin asked this question in Q&A
Discussion options

You must be logged in to vote

Hello !

SQLPage itself does not have built-in support for URL rewriting. However, you can achieve this by using a reverse proxy in front of SQLPage.

Here's a step-by-step guide to setting up nginx as a reverse proxy for SQLPage with URL rewriting:

  1. Install Nginx:
    Ensure that Nginx is installed on your server. On debian or ubuntu you can do this by running:

    sudo apt-get update
    sudo apt-get install nginx
  2. Configure Nginx:
    Create a new Nginx configuration file for your SQLPage. For example, create a file named sqlpage.conf in the Nginx configuration directory:

    sudo nano /etc/nginx/sites-available/sqlpage.conf
  3. Nginx Configuration:
    Add the following configuration, adjusting the values as n…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@matthewlarkin
Comment options

Answer selected by matthewlarkin
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
enhancement New feature or request
2 participants