[TUTO] – Plex : Acceder à Plex avec un sous-domaine

4
1358
Plex logo

Si comme moi, vous voulez accéder à votre serveur Plex avec une URL simple sans avoir à spécifier le port ainsi que l’extension d’accueille alors il faut modifier quelques lignes comme ci-dessous :

1. Creation d’un fichier de configuration spécialement pour votre Plex :

touch /etc/apache2/sites-available/plex

2. Editer le VirtualHost précédemment créé :

nano /etc/apache2/sites-available/plex

3. Copier/Coller les lignes ci-dessous dans le fichier, en prenant soin de remplacer la partie ServerName par le nom de votre sous-domaine :


  ServerName sous-domaine.yourdomain.com
 
  
    Order deny,allow
    Allow from all
  
 

ProxyPass http://localhost:32400/web
ProxyPassReverse http://localhost:32400/web

 

ProxyPass http://localhost:32400/system
ProxyPassReverse http://localhost:32400/system

 

ProxyPass http://localhost:32400/servers
ProxyPassReverse http://localhost:32400/servers

 

ProxyPass http://localhost:32400/accounts
ProxyPassReverse http://localhost:32400/accounts

 

ProxyPass http://localhost:32400/myplex
ProxyPassReverse http://localhost:32400/myplex

 

ProxyPass http://localhost:32400/photo
ProxyPassReverse http://localhost:32400/photo

 

ProxyPass http://localhost:32400/clients
ProxyPassReverse http://localhost:32400/clients


4. Il faut désormais déclarer ce nouveau VirtualHost auprès du serveur web :

sudo service a2ensite plex

5. Puis recharger la configuration du serveur web :

sudo service apache2 reload

A cette étape, si la redirection de votre sous-domaine pointe déjà vers votre serveur, vous devriez accéder à votre Plex avec l’url http://sous-domaine.yourdomaine.com/web

Pour terminer, et avoir une url du type : plex.yourdomaine.com, il suffit de créer les redirections suivantes :

6. Edition du VirtualHost :

nano /etc/apache2/sites-available/plex

7. Copier/coller des lignes ci-dessous :

RewriteEngine on
RewriteCond %{REQUEST_URI} !^/web
RewriteCond %{HTTP:X-Plex-Device} ^$
RewriteRule ^/$ /web/$1 [R,L]

Votre serveur est désormais accessible via : plex.yourdomain.com

Src

4 Commentaires

  1. I do consider all the concepts you have presented in your post.

    They’re really convincing and can certainly work. Nonetheless, the posts are very short for newbies.
    May you please prolong them a bit from next time?
    Thank you for the post.

  2. While Gmail’s features are secure enough for
    most users, some accounts may require additional
    layers of safety. Collaborate faster, from any device,
    anytime, all in one place. We never use your Gmail content to personalize ads.

    Use Gemini with your Google AI Pro or Ultra plan for personal
    use or as part of your Google Workspace plan for work.
    Save time managing your inbox at home or on the go with Gemini.
    Once you’re signed in, open your inbox to check your mail.
    You may opt out at any time. Join our newsletter to receive the latest news, trends,
    and features straight to your inbox!
    Can u detail what voltage range it support from standard
    5V and difference between q and PD for type A which seem to
    be non standard

    References:
    https://blackcoin.co/online-slots-in-australia/

  3. Crown Rewards Members can earn 24 hour free parking
    on the same visit, click here for more information. Conveniently located on Little Collins Street,
    our hotel is located in close walking distance of the city’s many attractions, events, shopping and
    eating destinations. Travelling to Melbourne and want to make the most of your city
    experience by visiting Crown Casino Melbourne? Just show
    your Crown Rewards Card when you pay or play and you can start earning Points, which you
    can redeem for Crown experiences like dining, gaming, hotel stays and much more.
    From acclaimed restaurants and award-winning hotels to world-class gaming and endless entertainment, Crown Rewards helps you to discover the
    world of Crown – and be rewarded. Crown Towers is also home to the exclusive Crystal Club, which offers an elevated experience for guests of
    the hotel.
    However, if you split your hand and receive an Ace and a 10 value card,
    the cards count as 21 only, not Blackjack. A Blackjack is when the first two cards dealt to you are an Ace and a card with the value of ten. The object
    of the game is to beat the dealer by drawing cards with
    a combined total closer to 21 than the dealer’s cards.
    Booking direct gets you the lowest price every time.

    Crown Casino Melbourne is the largest casino complex
    in the Southern Hemisphere and is one of the biggest in the world.
    Get your stay at Crown Towers off to a luxurious start with an exclusive check-in experience at
    the Crystal Club.
    All credit card information will be processed securely.
    Full pre-payment is required for all special offers, set menus and where a minimum
    spend is required. Credit or debit card details are required to guarantee all reservations.

    Located in the heart of Melbourne’s Southbank, Conservatory offers a diverse
    and exciting spread of international cuisine to inspire
    and delight every palate. Each show has its own camera policy which may limit or exclude the
    use of cameras or recording devices, including smart phones.

    References:
    https://blackcoin.co/welcome-to-red-stag-casino/

  4. Die royalgame casino bewertung zeigt, dass diese Schutzmaßnahmen einfach zu aktivieren sind.
    Spieler können im royalgame casino test verschiedene persönliche Limits setzen. Diese Partnerschaften zeigen, dass das royalgame casino seriös arbeitet
    und sich um das Wohlergehen seiner Spieler kümmert.
    Die royalgame casino webseite punktet mit ihrer perfekten Mobiloptimierung für unterwegs.
    Die Plattform des royal online casino unterstützt mehrere Sprachen und akzeptiert verschiedene Währungen wie Euro, US-Dollar
    und Britische Pfund. Unser online casino royal verfügt über offizielle Lizenzen und modernste
    Verschlüsselung.
    RoyalGame casino bietet ein rundes Gesamtpaket mit starkem Fokus auf Spielerfreundlichkeit,
    Sicherheit und Entertainment. Neben Slots bietet das casino auch Videopoker, Bingo und Keno.
    Das geht dank der Freispielen ohne Einzahlung.
    Diese Bedingungen sind nicht immer einfach zu erfüllen und so sollte
    man sich vorher gut überlegen, ob man Freispiele im Online Casino als Form eines Willkommensbonus wirklich annehmen möchte.
    Der Willkommensbonus im Kingmaker Casino beträgt
    100% bis zu 500€ und beinhaltet zusätzlich 50 Jackpot-Freispiele für
    den Royal Fortune Wheel. Das heißt, neue Spieler sollen mit einem besonders attraktiv gestalteten Willkommensangebot motiviert werden, ihre erste Einzahlung zu tätigen, um
    dann um Echtgeld zu spielen.

    References:
    https://online-spielhallen.de/beep-beep-casino-login-ihr-tor-zur-spielerwelt/

LAISSER UN COMMENTAIRE

S'il vous plaît entrez votre commentaire!
S'il vous plaît entrez votre nom ici