nginx
This is an old revision of the document!
Table of Contents
Overview
Nginx server and location block – Explains matching against server and location blocks
Reverse proxy – Explanations and examples
Site configuration
Proxy
Owncloud/Nextcloud
location / { # Nextcloud spesific proxy proxy_pass_header Server; 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; proxy_set_header X-Forwarded-host $host; proxy_pass_header Authorization; proxy_pass http://192.168.1.218:80; }
Other
nginx.1619689511.txt.gz · Last modified: 2022/09/12 00:30 (external edit)
