ayase
ayase copied to clipboard
Use site_url to set correct url redirection
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;
}