trying to fix the DAV COPY failure issue over HTTP proxied of HTTPS
This commit is contained in:
parent
0813b6470d
commit
0c8443b9bc
@ -1,3 +1,6 @@
|
||||
If you require the root privilege to build a docker image, specify sudo in DOCKER.
|
||||
make rocky8 DOCKER="sudo docker"
|
||||
|
||||
Run the service
|
||||
docker run -dit --restart unless-stopped --name codepot -p 7000:80 codepot:ubnt20.04
|
||||
|
@ -104,5 +104,9 @@ grep -F -q 'env[CODEPOT_CONFIG_FILE]' /etc/php-fpm.d/www.conf || {
|
||||
echo "Configuring to listen on the port [$SERVICE_PORT]"
|
||||
sed -r -i "s|^Listen[[:space:]]+.*|Listen ${SERVICE_PORT}|g" /etc/httpd/conf/httpd.conf
|
||||
|
||||
## Enable DAV to work with Apache running HTTP through SSL hardware (problem description)
|
||||
## by replacing https: with http: in the Destination header:
|
||||
##RequestHeader edit Destination ^https: http: early
|
||||
|
||||
php-fpm
|
||||
exec httpd -DFOREGROUND
|
||||
|
Loading…
Reference in New Issue
Block a user