You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 4, 2021. It is now read-only.
Thanks for building a awesome docker image. How do I go about running nextcloud in example.com/nextcloud ?
I am running Nginx locally and do a proxy reverse to the running container localhost:8888. When I access nextcloud in location block, it redirects back to example.com/login and fails. Problem is, if I set webroot in Nextcloud config.php to /nextcloud I get stuck in a redirect loop.
I have tried to use subfilter rules, but images and css get broken.
My sub_filter loads login page but with no css. When I edit config.php (overwritewebroot) to include /nextcloud everything breaks.. proxy_set_header Accept-Encoding ""; sub_filter "http://server.domain/" "http://server.domain/nextcloud/"; sub_filter_once on;
The text was updated successfully, but these errors were encountered:
Hi,
Thanks for building a awesome docker image. How do I go about running nextcloud in example.com/nextcloud ?
I am running Nginx locally and do a proxy reverse to the running container localhost:8888. When I access nextcloud in location block, it redirects back to example.com/login and fails. Problem is, if I set webroot in Nextcloud config.php to /nextcloud I get stuck in a redirect loop.
I have tried to use subfilter rules, but images and css get broken.
location /nextcloud/ { proxy_pass http://localhost:8888/; auth_basic off; 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-Remote-Port $remote_port; proxy_set_header X-Forwarded-Proto $scheme; proxy_redirect off; }
My sub_filter loads login page but with no css. When I edit config.php (overwritewebroot) to include /nextcloud everything breaks..
proxy_set_header Accept-Encoding ""; sub_filter "http://server.domain/" "http://server.domain/nextcloud/"; sub_filter_once on;
The text was updated successfully, but these errors were encountered: