AVideo icon indicating copy to clipboard operation
AVideo copied to clipboard

sub domain configuration for network encoder

Open milehighkaraoke opened this issue 11 months ago • 5 comments

@DanielnetoDotCom can you help me with this? I have been trying to get this to work all day but can not seem to find the correct combination.

VirtualHost *:81> ServerName encoder.mhktube.com ServerAlias www.encoder.mhktube.com

RewriteEngine On
RewriteRule ^/(.*) http://10.10.10.100:80/$1 [P,L]

RewriteCond %{SERVER_NAME} =encoder.mhktube.com [OR] RewriteCond %{SERVER_NAME} =www.encoder.mhktube.com RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent] </VirtualHost>

<VirtualHost *:8443> ServerName encoder.mhktube.com ServerAlias www.encoder.mhktube.com

SSLEngine on
SSLCertificateFile /etc/letsencrypt/live/mhktube.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/mhktube.com/privkey.pem

RewriteEngine On
RewriteRule ^/(.*) https://10.10.10.100:443/$1 [P,L]  # Remove the extra space before the "/"

I get the 443 forbidden https://encoder.mhktube.com

milehighkaraoke avatar Jan 22 '25 08:01 milehighkaraoke

`<VirtualHost *:443>

ServerName encoder.mhktube.com ServerAlias www.encoder.mhktube.com`

turn 8443 to 443, and then probably it will not tell fobidden

baoang avatar Jan 23 '25 04:01 baoang

443 is being used on front end along with 80 I am trying to redirect encoder.mhktube.com at the front end and point it to apache on backend

milehighkaraoke avatar Jan 23 '25 21:01 milehighkaraoke

I have absolutely no idea what I am doing but I am digging in and giving it a go. Spent close to 40 hrs with Gemini and Chat GPT that ended with a blown up Apache2 lol

milehighkaraoke avatar Jan 23 '25 21:01 milehighkaraoke

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Apr 26 '25 07:04 stale[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jul 19 '25 07:07 stale[bot]