mirror of
https://github.com/nextcloud/all-in-one.git
synced 2024-12-27 17:21:14 +08:00
Update reverse-proxy.md
Co-authored-by: Simon L. <szaimen@e.mail.de> Signed-off-by: Zoey <zoey@z0ey.de>
This commit is contained in:
parent
1639e05338
commit
4ea03db32e
1 changed files with 1 additions and 1 deletions
|
@ -258,7 +258,7 @@ server {
|
|||
|
||||
location / {
|
||||
resolver localhost; # Note: you need to set a valid dns resolver here or use 127.0.0.1 / [::1] instead of localhost in the line below. See https://stackoverflow.com/a/49642310 for a better explanation
|
||||
proxy_pass http://localhost:11000$request_uri; # Note: you need to change localhost to 127.0.0.1 / [::1], if you don't use a valid dns resolver in the line above
|
||||
proxy_pass http://localhost:11000$request_uri; # Note: you need to change localhost to 127.0.0.1 or [::1], if you don't use a valid dns resolver in the line above
|
||||
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
|
|
Loading…
Reference in a new issue