Skip to content

Config reverse proxy #38088

Answered by webvictim
Mefevre asked this question in Q&A
Feb 12, 2024 · 6 comments · 4 replies
Discussion options

You must be logged in to vote

I got this working after a bit of trial and error. Here are my configs from an Ubuntu 22.04 server:

/etc/apache2/sites-available/001-teleport.conf:

<VirtualHost *:443>
    ServerName teleport.example.com

    ErrorLog /var/log/apache2/teleport.error.log
    CustomLog /var/log/apache2/teleport.access.log combined

    SSLEngine on
    SSLProxyEngine on
    SSLProtocol TLSv1.3 TLSv1.2
    SSLCertificateFile /etc/letsencrypt/live/teleport.example.com/fullchain.pem
    SSLCertificateKeyFile /etc/letsencrypt/live/teleport.example.com/privkey.pem

    # Replace localhost:3080 with the IP:port of your Teleport server if needed
    # The upgrade=ANY line is needed to pass custom connection upgrad…

Replies: 6 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@webvictim
Comment options

@jayjay3108
Comment options

Answer selected by webvictim
Comment options

You must be logged in to vote
2 replies
@webvictim
Comment options

@webvictim
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants