We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The code will current generate a proxy config like:
server { listen 80; server_name app.powerlinespro.com app.prod.powerlinespro.com api.prod.powerlinespro.com app.powerlinespro.co; location '/.well-known/acme-challenge' { default_type "text/plain"; alias /opt/var/www/.well-known/acme-challenge; } location / { return 301 https://$server_name$request_uri; } }
But this always redirects to the first server name as per here:
https://serverfault.com/questions/706438/what-is-the-difference-between-nginx-variables-host-http-host-and-server-na
Looks like we need to change $server_name to $host
$server_name
$host
The text was updated successfully, but these errors were encountered:
here:
https://github.com/helix-collective/camus2/blob/master/config/nginx.conf.tpl#L75
Sorry, something went wrong.
No branches or pull requests
The code will current generate a proxy config like:
But this always redirects to the first server name as per here:
https://serverfault.com/questions/706438/what-is-the-difference-between-nginx-variables-host-http-host-and-server-na
Looks like we need to change
$server_name
to$host
The text was updated successfully, but these errors were encountered: