mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 17:12:13 -06:00
* mostly deprecate --http-only and --https-only since there is zero performance gain in recent python versions, however could still be useful for avoiding limitations in alternative python interpreters (and forcing http/https with mdns/ssdp/qr) * mention antivirus being useless as usual
15 lines
527 B
Plaintext
15 lines
527 B
Plaintext
# when running copyparty behind a reverse proxy,
|
|
# the following arguments are recommended:
|
|
#
|
|
# -i 127.0.0.1 only accept connections from nginx
|
|
#
|
|
# if you are doing location-based proxying (such as `/stuff` below)
|
|
# you must run copyparty with --rp-loc=stuff
|
|
#
|
|
# on fedora/rhel, remember to setsebool -P httpd_can_network_connect 1
|
|
|
|
LoadModule proxy_module modules/mod_proxy.so
|
|
ProxyPass "/stuff" "http://127.0.0.1:3923/stuff"
|
|
# do not specify ProxyPassReverse
|
|
RequestHeader set "X-Forwarded-Proto" expr=%{REQUEST_SCHEME}
|