smdion's Docker Template Repository - Directions and Help Here


Recommended Posts

So tried to get Owncloud from gfjardim working behind the reverse proxy:

 

Here's the relevant bits of my proxy-config.conf

 

<VirtualHost *:443>
ServerName mydomain.com:443
ServerAdmin webmaster@localhost
DocumentRoot /var/www

SSLEngine on
SSLProtocol All -SSLv2 -SSLv3
SSLCipherSuite AES128+EECDH:AES128+EDH
SSLCertificateFile /config/ssl.crt
SSLCertificateKeyFile /config/decryptedssl.key
SSLCertificateChainFile /config/sub.class1.server.ca.pem	
</VirtualHost>

<Location /owncloud>
ProxyPass https://192.168.1.1:8000
ProxyPassReverse https://192.168.1.1:8000
</Location>

<VirtualHost *:80>
ServerName mydomain.com:80
ServerAdmin webmaster@localhost	
<Location />
Order deny,allow
Deny from all
</Location>
RewriteEngine On
RewriteRule ^/?(.*) https://mydomain.com/$1 [R=301,L]
</VirtualHost>

 

And my owncloud config.php

<?php
$CONFIG = array (
  'instanceid' => 'INSTANCEID',
  'passwordsalt' => 'PASSWORDSALT',
  'secret' => 'SECRET',
  'trusted_domains' => 
  array (
    0 => '192.168.1.1',
  ),
  'datadirectory' => '/var/www/owncloud/data',
  'overwritewebroot'  => '/owncloud',
  'overwrite.cli.url' => 'https://mydomain.com',
  'overwritehost'     => 'mydomain.com',
  'overwriteprotocol' => 'https',
  'dbtype' => 'mysql',
  'version' => '8.0.2.0',
  'dbname' => 'owncloud',
  'dbhost' => '192.168.1.1',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'oc_CHBMB4',
  'dbpassword' => 'PASSWORD',
  'installed' => true,
);

 

But just throws up this error

 

Internal Server Error

 

The server encountered an internal error or misconfiguration and was unable to complete your request.

 

Please contact the server administrator at webmaster@localhost to inform them of the time this error occurred, and the actions you performed just before this error.

 

More information about this error may be available in the server error log.

 

With the logs showing this

 

[Fri Mar 27 21:02:21.379256 2015] [ssl:error] [pid 191] [remote 192.168.1.1:8000] AH01961: SSL Proxy requested for mydomain.com:443 but not enabled [Hint: SSLProxyEngine]
[Fri Mar 27 21:02:21.379282 2015] [proxy:error] [pid 191] AH00961: HTTPS: failed to enable ssl support for 192.168.1.1:8000 (192.168.1.1)

 

To be honest, I've got it working with a manual install of owncloud, but I just don't like not knowing... ::)

 

So that being said, don't worry too much about it, as it's just my idle curiosity at play....

 

 

Link to comment
  • Replies 507
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Hmmm, 

 

Well it's a different error

 

Tried adding

 

SSLProxyEngine On

 

and

SSLProxyEngine On
ProxyRequests On

 

Which both give me

Proxy Error

 

The proxy server could not handle the request GET /owncloud/index.php/apps/files/.

Reason: Error during SSL Handshake with remote server

 

With

 

[Fri Mar 27 21:33:25.108763 2015] [proxy:error] [pid 47] (502)Unknown error 502: [client 192.168.1.254:56674] AH01084: pass request body failed to 192.168.1.1:8000 (192.168.1.1)
[Fri Mar 27 21:33:25.108812 2015] [proxy:error] [pid 47] [client 192.168.1.254:56674] AH00898: Error during SSL Handshake with remote server returned by /owncloud/index.php/apps/files/
[Fri Mar 27 21:33:25.108828 2015] [proxy_http:error] [pid 47] [client 192.168.1.254:56674] AH01097: pass request body failed to 192.168.1.1:8000 (192.168.1.1) from 192.168.1.254 ()

 

Although as a bonus, Wallabag now displays properly when it's reverse proxied!  ;D

Link to comment

Okay.. try adding these.

 

SSLProxyVerify none

SSLProxyCheckPeerCN off

SSLProxyCheckPeerName off

SSLProxyCheckPeerExpire off

 

That did it!

 

Please tell me you're a professional web guy, otherwise you make me feel very inadequate as an amateur!

Link to comment

Okay.. try adding these.

 

SSLProxyVerify none

SSLProxyCheckPeerCN off

SSLProxyCheckPeerName off

SSLProxyCheckPeerExpire off

 

That did it!

 

Please tell me you're a professional web guy, otherwise you make me feel very inadequate as an amateur!

 

I am a Google-Foo master ;).  I had those in my config, but I forgot there were for owncloud as well!

 

Link to comment

The google-fu is strong in you!  You make my google-fu look like my wife's does when compared to mine!!

 

I have one other question, is there a specific reason why some locations don't pass through the style and display as plain text.  I'm trying to reverse proxy an EPG for my PVR (Argus-TV) but have this problem and not quite sure where to start in terms of solving it.

Link to comment

I had a little tinker about with the HTPCmanager container while you were on sabbatical and think I have a way of having edge and nzbdrone branch both set.

 

 

#!/bin/bash
update=$EDGE
if [  "$NZBDRONE" -eq 0 ]; then
echo "not selected nzbdrone branch"
gitclone="-b master https://github.com/styxit/HTPC-Manager.git"
else
echo "nzbdrone branch selected"
gitclone="-b master2 https://github.com/Hellowlol/HTPC-Manager.git"
update=$((update+1))
fi
# Does the user want the edge version
if [ "$update" -eq 0 ]; then
  echo "edge not requested"
else
  rm -rf /opt/HTPC-Manager
  git clone $gitclone /opt/HTPC-Manager
fi

 

 

for the edge.sh file, basically if edge is 0 and nzdbrone is 0 use normal version without updating.

edge is 1 nzdbrone is 0 , use normal version and updating.

if nzbdrone is 1, then use nzbdrone and use updating regardless of what edge is set to.

 

#!/bin/bash
if [  "$NZBDRONE" -eq 0 ]; then
datdir="/config/htpcmanager"
else
datdir="/config/htpcmanager-sonarr"
fi
python /opt/HTPC-Manager/Htpc.py --datadir $datdir

 

for the run file.

 

 

In the container i rewrote, i went straight to pulling latest git, but you don't have to do that obviously.

 

Also by having separate datadir for the two branches it opens up the possibility of switching back and forth between them easily.

existing users will have to copy over their current settings to match the new folder structure.

Link to comment

I've installed the socket and it starts up no errors that I can see but when I try to get to the up and 8024 it does not resolve.

 

I did a ports scan on My unraid from 8000 to 8100 and it found all of the other sockets that I'm running. Not sure what else to try.

Link to comment

[36m2014-07-11 14:46:123[39m [32mINFO[39m [34mMAIN_APP[39m [36m::[39m [90mStarting up app in[39m [90munknown[39m [90menvironment.[39m
[36m2014-07-11 14:46:127[39m [90mDEBUG[39m [34mCONFIG[39m [36m::[39m [90mLoading configuration data.[39m
[36m2014-07-11 14:46:130[39m [90mDEBUG[39m [34mREQUIREMENTS[39m [36m::[39m [90mChecking to see if GraphicsMagick is present and meets minimum requirements.[39m
[36m2014-07-11 14:46:131[39m [90mDEBUG[39m [34mREQUIREMENTS[39m [36m::[39m [90mRunnging this command: [39m [90mgm -version[39m
[36m2014-07-11 14:46:143[39m [31mERROR[39m [34mREQUIREMENTS[39m [36m::[39m [90mGraphicsMagick was not detected on the machine. We are not going to use GraphicsMagick to resize images. This will cause full size images being sent to the user's browser.[39m
[36m2014-07-11 14:46:143[39m [32mINFO[39m [34mREQUIREMENTS[39m [36m::[39m [32mAll requirement checks have passed![39m
[36m2014-07-11 14:46:144[39m [32mINFO[39m [34mCONFIG[39m [36m::[39m [32mValidated general configuration[39m
[36m2014-07-11 14:46:144[39m [90mDEBUG[39m [34mCONFIG[39m [36m::[39m [90mChecking to see if salt has been generated.[39m
[36m2014-07-11 14:46:144[39m [90mDEBUG[39m [34mCONFIG[39m [36m::[39m [90mSalt is present, moving on![39m
[36m2014-07-11 14:46:145[39m [90mDEBUG[39m [34mCONFIG[39m [36m::[39m [90mChecking to see if password is present and encrypted.[39m
[36m2014-07-11 14:46:145[39m [90mDEBUG[39m [34mCONFIG[39m [36m::[39m [90mPresent and encrypted, moving on![39m
[36m2014-07-11 14:46:147[39m [32mINFO[39m [34mCONFIG[39m [36m::[39m [32mValidated memory servers configuration.[39m
[36m2014-07-11 14:46:148[39m [32mINFO[39m [34mCONFIG[39m [36m::[39m [32mValidated configuration for your drives.[39m
[36m2014-07-11 14:46:149[39m [32mINFO[39m [34mCONFIG[39m [36m::[39m [32mValidated bandwidth servers configuration.[39m
[36m2014-07-11 14:46:149[39m [31mFATAL[39m [34mMAIN_APP[39m [36m::[39m [31m[31mA host must be specified for this monitoring service, Service Name[39m[39m

 

is the debug output on container log...?

 

Did you ever get it to work?

 

i read thru all the pages and no body has posted just the set up to get the page to finish the setup.

I can install in and its up a runnig but when i try to get to the page at my unraid ip port 8024 nothing.

Link to comment

[36m2014-07-11 14:46:123[39m [32mINFO[39m [34mMAIN_APP[39m [36m::[39m [90mStarting up app in[39m [90munknown[39m [90menvironment.[39m
[36m2014-07-11 14:46:127[39m [90mDEBUG[39m [34mCONFIG[39m [36m::[39m [90mLoading configuration data.[39m
[36m2014-07-11 14:46:130[39m [90mDEBUG[39m [34mREQUIREMENTS[39m [36m::[39m [90mChecking to see if GraphicsMagick is present and meets minimum requirements.[39m
[36m2014-07-11 14:46:131[39m [90mDEBUG[39m [34mREQUIREMENTS[39m [36m::[39m [90mRunnging this command: [39m [90mgm -version[39m
[36m2014-07-11 14:46:143[39m [31mERROR[39m [34mREQUIREMENTS[39m [36m::[39m [90mGraphicsMagick was not detected on the machine. We are not going to use GraphicsMagick to resize images. This will cause full size images being sent to the user's browser.[39m
[36m2014-07-11 14:46:143[39m [32mINFO[39m [34mREQUIREMENTS[39m [36m::[39m [32mAll requirement checks have passed![39m
[36m2014-07-11 14:46:144[39m [32mINFO[39m [34mCONFIG[39m [36m::[39m [32mValidated general configuration[39m
[36m2014-07-11 14:46:144[39m [90mDEBUG[39m [34mCONFIG[39m [36m::[39m [90mChecking to see if salt has been generated.[39m
[36m2014-07-11 14:46:144[39m [90mDEBUG[39m [34mCONFIG[39m [36m::[39m [90mSalt is present, moving on![39m
[36m2014-07-11 14:46:145[39m [90mDEBUG[39m [34mCONFIG[39m [36m::[39m [90mChecking to see if password is present and encrypted.[39m
[36m2014-07-11 14:46:145[39m [90mDEBUG[39m [34mCONFIG[39m [36m::[39m [90mPresent and encrypted, moving on![39m
[36m2014-07-11 14:46:147[39m [32mINFO[39m [34mCONFIG[39m [36m::[39m [32mValidated memory servers configuration.[39m
[36m2014-07-11 14:46:148[39m [32mINFO[39m [34mCONFIG[39m [36m::[39m [32mValidated configuration for your drives.[39m
[36m2014-07-11 14:46:149[39m [32mINFO[39m [34mCONFIG[39m [36m::[39m [32mValidated bandwidth servers configuration.[39m
[36m2014-07-11 14:46:149[39m [31mFATAL[39m [34mMAIN_APP[39m [36m::[39m [31m[31mA host must be specified for this monitoring service, Service Name[39m[39m

 

is the debug output on container log...?

 

Did you ever get it to work?

 

i read thru all the pages and no body has posted just the set up to get the page to finish the setup.

I can install in and its up a runnig but when i try to get to the page at my unraid ip port 8024 nothing.

 

Upstatsboard is VERY picky about the config.  If there is something that is wrong or empty or an extra comma it will not run.  Can you post your config.js?

Link to comment

[36m2014-07-11 14:46:123[39m [32mINFO[39m [34mMAIN_APP[39m [36m::[39m [90mStarting up app in[39m [90munknown[39m [90menvironment.[39m
[36m2014-07-11 14:46:127[39m [90mDEBUG[39m [34mCONFIG[39m [36m::[39m [90mLoading configuration data.[39m
[36m2014-07-11 14:46:130[39m [90mDEBUG[39m [34mREQUIREMENTS[39m [36m::[39m [90mChecking to see if GraphicsMagick is present and meets minimum requirements.[39m
[36m2014-07-11 14:46:131[39m [90mDEBUG[39m [34mREQUIREMENTS[39m [36m::[39m [90mRunnging this command: [39m [90mgm -version[39m
[36m2014-07-11 14:46:143[39m [31mERROR[39m [34mREQUIREMENTS[39m [36m::[39m [90mGraphicsMagick was not detected on the machine. We are not going to use GraphicsMagick to resize images. This will cause full size images being sent to the user's browser.[39m
[36m2014-07-11 14:46:143[39m [32mINFO[39m [34mREQUIREMENTS[39m [36m::[39m [32mAll requirement checks have passed![39m
[36m2014-07-11 14:46:144[39m [32mINFO[39m [34mCONFIG[39m [36m::[39m [32mValidated general configuration[39m
[36m2014-07-11 14:46:144[39m [90mDEBUG[39m [34mCONFIG[39m [36m::[39m [90mChecking to see if salt has been generated.[39m
[36m2014-07-11 14:46:144[39m [90mDEBUG[39m [34mCONFIG[39m [36m::[39m [90mSalt is present, moving on![39m
[36m2014-07-11 14:46:145[39m [90mDEBUG[39m [34mCONFIG[39m [36m::[39m [90mChecking to see if password is present and encrypted.[39m
[36m2014-07-11 14:46:145[39m [90mDEBUG[39m [34mCONFIG[39m [36m::[39m [90mPresent and encrypted, moving on![39m
[36m2014-07-11 14:46:147[39m [32mINFO[39m [34mCONFIG[39m [36m::[39m [32mValidated memory servers configuration.[39m
[36m2014-07-11 14:46:148[39m [32mINFO[39m [34mCONFIG[39m [36m::[39m [32mValidated configuration for your drives.[39m
[36m2014-07-11 14:46:149[39m [32mINFO[39m [34mCONFIG[39m [36m::[39m [32mValidated bandwidth servers configuration.[39m
[36m2014-07-11 14:46:149[39m [31mFATAL[39m [34mMAIN_APP[39m [36m::[39m [31m[31mA host must be specified for this monitoring service, Service Name[39m[39m

 

is the debug output on container log...?

 

Did you ever get it to work?

 

i read thru all the pages and no body has posted just the set up to get the page to finish the setup.

I can install in and its up a runnig but when i try to get to the page at my unraid ip port 8024 nothing.

 

Upstatsboard is VERY picky about the config.  If there is something that is wrong or empty or an extra comma it will not run.  Can you post your config.js?

 

I started to have a play with this last night and didn't get very far either so this will be interesting to see how far we can get.

Link to comment

[36m2014-07-11 14:46:123[39m [32mINFO[39m [34mMAIN_APP[39m [36m::[39m [90mStarting up app in[39m [90munknown[39m [90menvironment.[39m
[36m2014-07-11 14:46:127[39m [90mDEBUG[39m [34mCONFIG[39m [36m::[39m [90mLoading configuration data.[39m
[36m2014-07-11 14:46:130[39m [90mDEBUG[39m [34mREQUIREMENTS[39m [36m::[39m [90mChecking to see if GraphicsMagick is present and meets minimum requirements.[39m
[36m2014-07-11 14:46:131[39m [90mDEBUG[39m [34mREQUIREMENTS[39m [36m::[39m [90mRunnging this command: [39m [90mgm -version[39m
[36m2014-07-11 14:46:143[39m [31mERROR[39m [34mREQUIREMENTS[39m [36m::[39m [90mGraphicsMagick was not detected on the machine. We are not going to use GraphicsMagick to resize images. This will cause full size images being sent to the user's browser.[39m
[36m2014-07-11 14:46:143[39m [32mINFO[39m [34mREQUIREMENTS[39m [36m::[39m [32mAll requirement checks have passed![39m
[36m2014-07-11 14:46:144[39m [32mINFO[39m [34mCONFIG[39m [36m::[39m [32mValidated general configuration[39m
[36m2014-07-11 14:46:144[39m [90mDEBUG[39m [34mCONFIG[39m [36m::[39m [90mChecking to see if salt has been generated.[39m
[36m2014-07-11 14:46:144[39m [90mDEBUG[39m [34mCONFIG[39m [36m::[39m [90mSalt is present, moving on![39m
[36m2014-07-11 14:46:145[39m [90mDEBUG[39m [34mCONFIG[39m [36m::[39m [90mChecking to see if password is present and encrypted.[39m
[36m2014-07-11 14:46:145[39m [90mDEBUG[39m [34mCONFIG[39m [36m::[39m [90mPresent and encrypted, moving on![39m
[36m2014-07-11 14:46:147[39m [32mINFO[39m [34mCONFIG[39m [36m::[39m [32mValidated memory servers configuration.[39m
[36m2014-07-11 14:46:148[39m [32mINFO[39m [34mCONFIG[39m [36m::[39m [32mValidated configuration for your drives.[39m
[36m2014-07-11 14:46:149[39m [32mINFO[39m [34mCONFIG[39m [36m::[39m [32mValidated bandwidth servers configuration.[39m
[36m2014-07-11 14:46:149[39m [31mFATAL[39m [34mMAIN_APP[39m [36m::[39m [31m[31mA host must be specified for this monitoring service, Service Name[39m[39m

 

is the debug output on container log...?

 

Did you ever get it to work?

 

i read thru all the pages and no body has posted just the set up to get the page to finish the setup.

I can install in and its up a runnig but when i try to get to the page at my unraid ip port 8024 nothing.

 

Upstatsboard is VERY picky about the config.  If there is something that is wrong or empty or an extra comma it will not run.  Can you post your config.js?

http://imgur.com/gallery/JDU3e/new  this the images of the install.

 

here is the config file, what needs to be modified? (sorry i dont know how to make it one of those cool pastebin things)

var config = module.exports = {

 

// What mode do you want to run?

//  - normal:

//      Nothing is outputted to the console.

//      Logs are stored in logs/debug.log

//      NO debugging code is logged.

//  - debug:

//      Logs are displayed in the console as well as logged to file logs/debug.log

//        Debug logs are store and displayed as well.

"runningMode": "normal",

 

// Server Settings.

"host": "0.0.0.0",

"port": 8024,

"webRoot": "",

 

// Allow UpsBoard check for new updates on startup and every 12 hours.

"checkForUpdates": true,

 

// Optional, If you want to stop the page requesting updates.

"debugStopUpdating": false,

 

// Optional, If you want to log the http requests.

"logHttpRequests": true,

 

// Required, Pick a username and password, On first run the password will get encrypted.

"username": "admin",

"userPassword": "[$2a$10$zwZqB9T/ZN9CgID.MV8sWeJ4AKGhEp.vBU97kWE6dIiDJIO071FJa]",

 

// Optional, Either url, path, or email address(Gravatar) for user avatar.

"userAvatar": "",

 

// Optional, If you want to include Google Analytics

"googleAnalyticsId": "",

"googleAnalyticsUrl": "",

 

 

"drives": {

"Label":{

"remote": false,

"location": "/",

 

// Optional, If your drive is on a machine running something other than linux.

//  Support Operating Systems:

            //    mac & linux

"os": "linux",

 

// Required, if this is a remote drive.

"host": "",

"port": 22,

"username": "",

 

// One of the following are required.

//  "password": "",

//// ssh-agent for linux

// "sshAgent": true,

//// Public/Private Key

// "privateKey": "", // Absolute location of key.

// "passphrase": "", // If public key, then leave empty.

 

 

 

// Optional, Allow you to specify a total drive space.

// Format:

//  (Size)(Unit)

//    Size: Any whole number.

//    Unit: Can be any of the following:

            //      B, KB, MB, GB, TB, PB, EB

// Example:

            //  total: "5TB",

total: "",

 

// Optional, If you want to give the drive a different icon.

icon: ""

}

},

 

"memory": {

"Label": {

// This allows you to display on bottom bar, when you have multiple memory monitors.

"default": true,

 

// Optional, If your getting the memory of a machine running something other than linux.

//  Support Operating Systems:

            //    linux

"os": "linux",

 

// Required, if this is a remote server.

"host": "",

"port": 22,

"username": "",

// One of the following are required.

//  "password": "",

//// ssh-agent for linux

// "sshAgent": true,

//// Public/Private Key

// "privateKey": "", // Absolute location of key.

// "passphrase": "", // If public key, then leave empty.

 

}

},

 

"bandwidthServers": {

"Label": {

// This allows you to display on bottom bar, when you have multiple bandwidth monitors.

"default": true,

 

//          [Download, Upload]

"maxSpeed": [100, 100],

"remote": false,

 

// Optional, Allow you specify if you have a bandwidth cap/limit.

//  Format: Download,Upload:10TB = If you bandwidth includes both upload and download, 10 terabytes is the cap.

//  Example: Upload:20TB = Only have a cap on your upload of 20 terabytes.

//          Download:20TB = Only have a cap on your download of 20 terabytes.

//          Download,Upload:250GB = Your whole connection is capped at 250 gigabytes.

"cap": "",

 

// Optional, Select the interface to to watch

"interface": "eth0",

 

// Optional, Select the path of vnStat, if not at the default location.

"vnstatPath": "/path/to/vnstat",

 

// Optional, Allows you specify the directory of the vnstat, if it is not at the default location.

"vnstatDBDirectory": "/path/to/database/directory",

 

// Required, if this is a remote server.

"host": "",

"port": 22,

"username": "",

// One of the following are required.

//  "password": "",

//// ssh-agent for linux

// "sshAgent": true,

//// Public/Private Key

// "privateKey": "", // Absolute location of key.

// "passphrase": "", // If public key, then leave empty.

}

},

 

"services": {

"Service Name": {

"host": "",

"port": 80,

 

// Optional, This allows you to put a link on the button.

"url": "",

 

// Optional, Require the user to be logged in before they can see the link

"loginRequired": false

}

},

 

"sabnzbd": {

// Set to True if you want to disable sabnzbd from upsboard.

"disable": false,

 

// Optional, Allow user to logged out and use sabnzbd

"anyoneCanUse": false,

 

"protocol": "http://",

"host": "",

"port": 8080,

"webRoot": "",

"apiKey": ""

},

 

"sickbeard": {

// Set to True if you want to disable sickbeard from upsboard.

"disable": false,

 

"protocol": "http://",

"host": "",

"port": 8081,

"webRoot": "",

"apiKey": ""

},

 

"plex": {

"protocol": "http://",

"host": "",

"port": 32400,

"username": "",

"password": "",

"recentTVSection": 2,

"recentMovieSection": 1

},

 

// Optional, Forecast.io Api

"weather": {

"apiKey": "",

"lat": "",

"long": "",

"useFahrenheit": true

}

};

 

config.version = 2;

config.salt = "$2a$10$zwZqB9T/ZN9CgID.MV8sWe";

Link to comment

Hey - sincere apologies but I didn't see this anywhere (it could have been in front of my face, but I just put my two year old down so I likely missed it) - I'm newer with Dockers and have figured out how to replace most of my previous apps, and I've honestly never really "liked" headphones, but I at least wanted it working.

 

After installing the Docker for that, I just get constant "Unknown version, please update or close" and every time I click Update it doesn't do boo. I can't figure out where to run a git update, or where these are located, or if I should just delete the damn program already.

 

Thanks for any help - it seems to just search for the version over and over and over and over and over and over and over and over - I've tried reinstalling and placing in a new folder - that didn't seem to change much.

Link to comment

Having real trouble with the reverse proxy

 

Docker Config

hYHRs2J.png

 

Directory Structure

qzE821S.png

cvVstWM.png

xw4kBeU.png

 

proxy-config.conf

<VirtualHost *:80>
        ServerName www.domain.com
        ServerAlias domain.com
        ServerAdmin webmaster@localhost
        DocumentRoot /var/www

        <Location />
                ProxyPass http://domain.com
                ProxyPassReverse http://domain.com
        </Location>
</VirtualHost>

 

what should the document root be in the con file???

Link to comment

Having real trouble with the reverse proxy

 

proxy-config.conf

<VirtualHost *:80>
        ServerName www.domain.com
        ServerAlias domain.com
        ServerAdmin webmaster@localhost
        DocumentRoot /var/www

        <Location />
                ProxyPass http://domain.com
                ProxyPassReverse http://domain.com
        </Location>
</VirtualHost>

 

what should the document root be in the con file???

 

Your document root is the same as mine, which is working perfectly.

 

Is your unraid gui still mapped to port 80.

 

My reverse proxy is mapped to port 81 & 443, I then use my router and open port 80 and forward it to port 81 on my unraid box.

 

I did post a thread somewhere with a working config of the reverse proxy.

 

Here it is..

 

The other way of doing it would be to change the port that the unraid gui uses and use port 80 as you are doing for both the container & host.

Link to comment

I would like to setup reverse proxy so I can access SB Cp etc externally

 

once working I would then like to set it up over 443 for added security

 

and then that would leave port 80 available to use for test web site dev etc

 

Ok, well that's all do-able.  How far have you got through smdion's tutorial?

 

Once you've done that then check out the link I posted earlier to my reverse proxy thread and you should be 99% there and can always help you with the rest.

Link to comment
Guest
This topic is now closed to further replies.