# if you would like to use unix-sockets (recommended), # you must run copyparty with one of the following: # # -i unix:777:/dev/shm/party.sock # -i unix:777:/dev/shm/party.sock,127.0.0.1 # # 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 RequestHeader set "X-Forwarded-Proto" expr=%{REQUEST_SCHEME} # NOTE: do not specify ProxyPassReverse ## ## then, enable one of the below: # use subdomain proxying to unix-socket (best) ProxyPass "/" "unix:///dev/shm/party.sock|http://whatever/" # use subdomain proxying to 127.0.0.1 (slower) #ProxyPass "/" "http://127.0.0.1:3923/" # use subpath proxying to 127.0.0.1 (slow and maybe buggy) #ProxyPass "/stuff" "http://127.0.0.1:3923/stuff"