Comment Comment by tombozi You can use the $host variableSee: http://nginx.org/en/docs/http/ngx_http_core_module.html#var_... And: http://stackoverflow.com/a/15414811Always be careful with user input though. parent tombozi 11 years ago
See: http://nginx.org/en/docs/http/ngx_http_core_module.html#var_... And: http://stackoverflow.com/a/15414811
Always be careful with user input though.