Skip to content

Use site_url to set correct url redirection #14

@Amersel

Description

@Amersel

Ayase redirects all links to localhost:8000 by default and there is built in solution for this. This can be resolved with the following nginx proxy_pass settings, but it would be better if Ayase could handle this correctly.

location / {
    proxy_pass http://localhost:8000;
    proxy_set_header Host $host;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded-Proto $scheme;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions