ayase icon indicating copy to clipboard operation
ayase copied to clipboard

Use site_url to set correct url redirection

Open Amersel opened this issue 5 years ago • 0 comments

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;
}

Amersel avatar Oct 07 '20 02:10 Amersel