Skip to content

Commit

Permalink
docs: added warning against modifying the $server_name variable
Browse files Browse the repository at this point in the history
  • Loading branch information
bleak183 committed Apr 26, 2024
1 parent fcb932a commit e27f375
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/getting-started/reverse-proxy.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ Add the following configuration to a new file `/etc/nginx/sites-available/wizarr
server {
listen 80;
server_name wizarr.example.com;
return 301 https://wizarr.example.com$request_uri;
# Do not modify the line below as it is built from the directive above
return 301 https://$server_name$request_uri;
}
server {
Expand Down

0 comments on commit e27f375

Please sign in to comment.