tjnetworking

Members
  • Posts

    50
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed

tjnetworking's Achievements

Rookie

Rookie (2/14)

0

Reputation

  1. It is a docker so I put this up to help those who may want to use it.
  2. Thanks I fixed this here is my config for those who may have the issue in the future I had to use a rewrite rule. <VirtualHost *:80> ServerAdmin [email protected] ServerName stream.hosting.com RewriteEngine On RewriteRule ^/?(.*) https://stream.hosting.com/$1 [R=301,L] </VirtualHost> <VirtualHost *:443> SSLEngine on RequestHeader set Front-End-Https "On" SSLCertificateFile /config/ssl.crl SSLCertificateKeyFile /config/decrypted.ssl.key SSLCertificateChainFile /config/sub.class1.server.ca.pem SSLProxyEngine on SSLProxyVerify none SSLProxyCheckPeerCN off SSLProxyCheckPeerName off SSLProxyCheckPeerExpire off ProxyRequests Off ProxyPreserveHost On ProxyPass / http://localhost:4000/ ProxyPassReverse / http://localhost:4000/ ServerAdmin [email protected] ServerName stream.hosting.com </VirtualHost>
  3. Thank you I did not realize you could do that such a simple answer. Thanks you learn something new everyday.
  4. How would I add that to my current config it down not like the / after proxypass. Here is my current config <VirtualHost *:443> ServerName tjne.net ServerAlias tjne.net ServerName stream.tjne.net ServerAdmin [email protected] DocumentRoot /web SSLEngine on SSLProxyEngine on SSLProxyVerify none SSLProxyCheckPeerCN off SSLProxyCheckPeerName off SSLProxyCheckPeerExpire off RequestHeader set Front-End-Https "On" SetEnv force-proxy-request-1.0 1 SetEnv proxy-nokeepalive 1 SSLProtocol all -SSLv2 SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM SSLCertificateFile /config/ssl.crl SSLCertificateKeyFile /config/decrypted.ssl.key SSLCertificateChainFile /config/sub.class1.server.ca.pem <Location /plexWatch> ProxyPass http://tower:8090/plexWatch ProxyPassReverse http://localhost:8090/plexWatch AuthName "Restricted Area" AuthType Basic AuthUserFile /config/.htpasswd require valid-user </Location> <Location /plex> ProxyPass https://localhost:32400/web ProxyPassReverse https://localhost:32400/web </Location> <Location /mobile> ProxyPass https://localhost:4443/mobile ProxyPassReverse https://localhost:4443/mobile </Location> <Location /welcome> ProxyPass http://localhost:4443/welcome ProxyPassReverse http://localhost:4443/welcome </Location> <Location /customer> ProxyPass http://localhost:4443/customer ProxyPassReverse http://localhost:4443/customer </Location> <Location /technician> ProxyPass http://localhost:4443/technician ProxyPassReverse http://localhost:4443/technician </Location> <Location /status> ProxyPass http://localhost:8024/status ProxyPassReverse http://localhost:8024/status AuthUserFile /config/.htpasswd AuthType Basic AuthName "UpStatsBoard - Proxy" Require user someone </Location> <Location /yifipop> ProxyPass https://localhost:4000 ProxyPassReverse https://localhost:4000 </Location> <Location /access> ProxyPass http://localhost:4443/access ProxyPassReverse http://localhost:4443/access </Location> <Location /guacamole/> ProxyPass http://localhost:9090/ max=20 flushpackets=on ProxyPassReverse http://localhost:9090 </Location> </VirtualHost> <VirtualHost *:80> ServerName www.tjne.net ServerAlias tjne.net ServerAdmin [email protected] DocumentRoot /web SSLProxyEngine On RequestHeader set Front-End-Https "On" ServerName stream.tjne.net Redirect /yifipop https://stream.tjne.net <Location /plexrequests> ProxyPass http://localhost:3000 ProxyPassReverse http://localhost:3000 </Location> <Location /plexrequestsadmin> ProxyPass http://localhost:3000 ProxyPassReverse http://localhost:3000 </Location> </VirtualHost> thanks
  5. I tried it with http and https the problem is when I try and put this ProxyPass / https://localhost:4000 in my config it doesn not like the "/" so I even tried <location /> and that also did not work with the redirect.
  6. I would like to think everyone for there input in advance I am trying to get yifipop working correctly behind an apache server reverse proxy I have included my config file any help or improvement to the file would be much appreciated. I almost forgot I have a domain I use for almost all of the items lets say mydomain.net and for yifipop I want to use stream.mydomain.net is this possible? if needed I am running unraid 6.0 . <VirtualHost *:443> ServerName servername ServerAlias servername ServerName servername ServerAdmin webmaster@servername DocumentRoot /web SSLEngine on SSLProxyEngine on SSLProxyVerify none SSLProxyCheckPeerCN off SSLProxyCheckPeerName off SSLProxyCheckPeerExpire off RequestHeader set Front-End-Https "On" SetEnv force-proxy-request-1.0 1 SetEnv proxy-nokeepalive 1 SSLProtocol all -SSLv2 SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM SSLCertificateFile /config/ssl.crl SSLCertificateKeyFile /config/decrypted.ssl.key SSLCertificateChainFile /config/sub.class1.server.ca.pem <Location /plexWatch> ProxyPass http://localhost:8090/plexWatch ProxyPassReverse http://localhost:8090/plexWatch AuthName "Restricted Area" AuthType Basic AuthUserFile /config/.htpasswd require valid-user </Location> <Location /plex> ProxyPass https://localhost:32400/web ProxyPassReverse https://localhost:32400/web </Location> <Location /mobile> ProxyPass https://localhost:4443/mobile ProxyPassReverse https://localhost:4443/mobile </Location> <Location /welcome> ProxyPass http://localhost:4443/welcome ProxyPassReverse http://localhost:4443/welcome </Location> <Location /customer> ProxyPass http://localhost:4443/customer ProxyPassReverse http://localhost:4443/customer </Location> <Location /technician> ProxyPass http://localhost:4443/technician ProxyPassReverse http://localhost:4443/technician </Location> <Location /status> ProxyPass http://localhost:8024/status ProxyPassReverse http://localhost:8024/status AuthUserFile /config/.htpasswd AuthType Basic AuthName "UpStatsBoard - Proxy" Require user someone </Location> <Location /yifipop> ProxyPass https://localhost:4000 ProxyPassReverse https://localhost:4000 </Location> <Location /access> ProxyPass http://localhost:4443/access ProxyPassReverse http://localhost:4443/access </Location> <Location /guacamole/> ProxyPass http://localhost:9090/ max=20 flushpackets=on ProxyPassReverse http://localhost:9090 </Location> </VirtualHost> <VirtualHost *:80> ServerName www.tjne.net ServerAlias tjne.net ServerAdmin [email protected] DocumentRoot /web SSLProxyEngine On RequestHeader set Front-End-Https "On" ServerName stream.tjne.net Redirect /yifipop https://stream.tjne.net <Location /plexrequests> ProxyPass http://localhost:3000 ProxyPassReverse http://localhost:3000 </Location> <Location /plexrequestsadmin> ProxyPass http://localhost:3000 ProxyPassReverse http://localhost:3000 </Location> </VirtualHost>
  7. I will be happy to be a beta tester let me know what you need to test I have access to remote locations and a test server that if it blows up is easy to rebuild
  8. Has anyone been able to get the pled request docket working with apache reverse proxy? I am using <Location /plexrequests> ProxyPass http://serverip:3000'>http://serverip:3000 ProxyPassReverse http://server ip:3000 </Location> And it just gives a blank page.
  9. Question does anyone knows how to get Guacamole to do RDP on a remote site it works internally but when I point it to one of my external sites it never connects.
  10. I figured it out some how it was running out of memory I shutdown some of my other dockers then restarted it worked like a charm thanks for all your help.
  11. Im Still getting the same error im not sure but it looks like the database is having a problem starting.
  12. yes here is my logs *** Running /etc/my_init.d/firstrun.sh... Creating properties from template. *** Running /etc/rc.local... * Starting Tomcat servlet engine tomcat7 ...fail! guacd[59]: INFO: Guacamole proxy daemon (guacd) version 0.9.5 started Starting guacd: SUCCESS *** Booting runit daemon... *** Runit started as PID 62 Initializing Data Directory. May 19 09:25:50 2dffdb9f71ed syslog-ng[68]: syslog-ng starting up; version='3.5.3' Installation complete. May 19 09:25:54 2dffdb9f71ed mysqld_safe: Starting mysqld daemon with databases from /config/databases May 19 09:25:54 2dffdb9f71ed mysqld: 150519 9:25:54 InnoDB: The InnoDB memory heap is disabled May 19 09:25:54 2dffdb9f71ed mysqld: 150519 9:25:54 InnoDB: Mutexes and rw_locks use GCC atomic builtins May 19 09:25:54 2dffdb9f71ed mysqld: 150519 9:25:54 InnoDB: Compressed tables use zlib 1.2.8 May 19 09:25:54 2dffdb9f71ed mysqld: 150519 9:25:54 InnoDB: Using Linux native AIO May 19 09:25:54 2dffdb9f71ed mysqld: 150519 9:25:54 InnoDB: Initializing buffer pool, size = 256.0M May 19 09:25:54 2dffdb9f71ed mysqld: InnoDB: mmap(275513344 bytes) failed; errno 12 May 19 09:25:54 2dffdb9f71ed mysqld: 150519 9:25:54 InnoDB: Completed initialization of buffer pool May 19 09:25:54 2dffdb9f71ed mysqld: 150519 9:25:54 InnoDB: Fatal error: cannot allocate memory for the buffer pool May 19 09:25:54 2dffdb9f71ed mysqld: 150519 9:25:54 [ERROR] Plugin 'InnoDB' init function returned error. May 19 09:25:54 2dffdb9f71ed mysqld: 150519 9:25:54 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. May 19 09:25:54 2dffdb9f71ed mysqld: 150519 9:25:54 [Note] Plugin 'FEEDBACK' is disabled. May 19 09:25:54 2dffdb9f71ed mysqld: 150519 9:25:54 [ERROR] Unknown/unsupported storage engine: InnoDB May 19 09:25:54 2dffdb9f71ed mysqld: 150519 9:25:54 [ERROR] Aborting May 19 09:25:54 2dffdb9f71ed mysqld: May 19 09:25:54 2dffdb9f71ed mysqld: 150519 9:25:54 [Note] /usr/sbin/mysqld: Shutdown complete May 19 09:25:54 2dffdb9f71ed mysqld: May 19 09:25:56 2dffdb9f71ed mysqld_safe: mysqld from pid file /var/run/mysqld/mysqld.pid ended